#include <gmlib/number/uint256.h>

#include <stdexcept>
#include <cstring>

using namespace number;

void test_uint256_sqr()
{
    uint256_t    multiplier, product[2];
    std::uint8_t product_data[64];

    static std::uint8_t multiplier0[32]   = {0x09,0x99,0x50,0xd8,0x36,0xf6,0x75,0xcc,0x81,0xe7,0x4e,0xf5,0xe8,0xe2,0x5d,0x94,0x0e,0xd9,0x04,0x75,0x95,0x31,0x98,0x5d,0x5d,0x9d,0xc9,0xf8,0x18,0x18,0xe8,0x11};
    static std::uint8_t product0[64]      = {0x00,0x5c,0x23,0x80,0xef,0xd6,0xdf,0xd8,0x04,0xe9,0x0b,0x4e,0x56,0x0b,0x09,0xa6,0xf4,0x18,0x14,0xbc,0x18,0x02,0x97,0x1f,0x46,0x4a,0x9e,0x97,0xb5,0x2e,0xfb,0x57,0xc4,0x1e,0x92,0x7c,0x69,0xe9,0x47,0x86,0x2e,0x3c,0xf2,0x54,0xea,0x99,0x23,0x84,0xba,0x94,0x40,0x15,0x51,0x55,0xf9,0xc8,0xcd,0xcb,0x00,0xdf,0x85,0x8e,0xd1,0x21};
    uint256_from_bytes(multiplier, multiplier0);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product0, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier1[32]   = {0xf2,0x9d,0x0d,0xa9,0x95,0x3f,0x48,0xf1,0xa0,0x9f,0x76,0xb5,0xa1,0x70,0xb3,0x38,0x39,0x26,0x30,0x59,0xf2,0x8c,0x10,0x5d,0x1f,0xb1,0x7c,0x23,0x90,0xc1,0x92,0xcf};
    static std::uint8_t product1[64]      = {0xe5,0xed,0x4e,0x2e,0x60,0xe7,0x5f,0x07,0x1e,0x06,0x13,0xeb,0x85,0x49,0xc2,0x5c,0x17,0x20,0xac,0xe3,0x6b,0xe4,0x48,0xec,0xaa,0x1c,0x7b,0x71,0xd3,0xed,0xcf,0x66,0xf3,0xb2,0xc1,0x4f,0xa0,0xd1,0x8d,0x61,0x13,0xba,0x76,0xea,0x1a,0xea,0x87,0x14,0x40,0x13,0x1c,0x42,0xcf,0xd6,0x10,0xcd,0x91,0x3f,0x04,0x21,0x90,0x4e,0xc3,0x61};
    uint256_from_bytes(multiplier, multiplier1);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product1, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier2[32]   = {0x30,0x18,0x50,0xc5,0xa3,0x8f,0xd5,0x47,0x92,0x3a,0x73,0x69,0x94,0xe3,0xbf,0x91,0x1a,0x61,0xdb,0xe2,0x2e,0x44,0x15,0x8b,0xae,0x97,0xba,0x94,0xd0,0xed,0xa8,0x2f};
    static std::uint8_t product2[64]      = {0x09,0x09,0x20,0x99,0x5b,0xe0,0xb9,0xc1,0xdd,0x6c,0xcc,0x31,0xed,0x94,0xe9,0xb4,0xea,0xe7,0xf6,0x51,0x1c,0x4f,0x10,0x9b,0xbd,0x12,0x0a,0x75,0x7c,0xa9,0x1c,0x4d,0x22,0x98,0x24,0x3a,0xf8,0x91,0x8f,0xea,0xc7,0xe3,0x9e,0xe7,0x0c,0xa2,0xcc,0x3d,0x0f,0x93,0x67,0x20,0x0c,0x32,0x78,0x21,0xe1,0x23,0xd0,0x45,0x35,0x83,0xb8,0xa1};
    uint256_from_bytes(multiplier, multiplier2);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product2, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier3[32]   = {0x34,0xb9,0xb5,0xdf,0x9e,0x77,0x69,0xb1,0x0f,0x42,0x05,0xb4,0x90,0x7a,0x70,0xc3,0x10,0x12,0xf0,0x37,0xb6,0x4c,0xe4,0x22,0x8c,0x38,0xfb,0x29,0x18,0xf1,0x35,0xd2};
    static std::uint8_t product3[64]      = {0x0a,0xdb,0xf8,0x9b,0x36,0xc9,0x84,0xf1,0x01,0xb0,0xff,0xf3,0x87,0xd6,0x3b,0x0d,0x84,0x51,0x7a,0x72,0x8c,0x6b,0xa9,0x0d,0x3a,0x1b,0x10,0xcd,0x52,0x69,0x1b,0xff,0x41,0x33,0x26,0x76,0x48,0x73,0xe7,0x4c,0x5e,0x62,0xac,0xd7,0x86,0x38,0x36,0x61,0x69,0x46,0xf2,0xb6,0xa0,0x4c,0xb5,0xaf,0x3b,0x1b,0x26,0xa1,0xc0,0xb4,0xa0,0x44};
    uint256_from_bytes(multiplier, multiplier3);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product3, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier4[32]   = {0xec,0x66,0xa7,0x87,0x95,0xe7,0x61,0xd1,0x77,0x31,0xaf,0x10,0x50,0x6b,0xf2,0xef,0xc6,0xf8,0x77,0x18,0x6d,0x76,0xb0,0x7e,0x88,0x1e,0xd1,0x62,0xae,0x2e,0xb1,0x54};
    static std::uint8_t product4[64]      = {0xda,0x4d,0x6e,0x0b,0xea,0x10,0x3e,0x1f,0x7a,0x1e,0x33,0xcb,0xa0,0x3a,0x63,0x3b,0xc1,0x13,0xf3,0xa6,0x46,0x26,0xae,0x12,0x6e,0x60,0x33,0x56,0xc4,0x28,0x6d,0xba,0x05,0x15,0x54,0x40,0xcc,0x41,0x99,0xad,0x76,0x0f,0xbf,0x21,0xad,0xfa,0x94,0x79,0x4a,0x48,0x3c,0x9f,0x42,0xae,0xc4,0x7c,0xdf,0x7e,0x6d,0xe2,0x65,0x05,0x43,0x90};
    uint256_from_bytes(multiplier, multiplier4);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product4, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier5[32]   = {0x3e,0x7d,0x1b,0xfb,0xc7,0xa2,0xea,0x20,0xb2,0xf1,0x4c,0x94,0x2e,0x05,0x31,0x9a,0xcb,0x5c,0x74,0x27,0x3f,0x98,0xe2,0x77,0x4c,0xbd,0x87,0xad,0x5c,0x90,0xa9,0x58};
    static std::uint8_t product5[64]      = {0x0f,0x40,0xd6,0xb2,0x4b,0xa2,0xf2,0x3d,0xed,0x24,0x52,0x46,0x58,0x08,0x4b,0x22,0x66,0xce,0x19,0xca,0x7e,0xe2,0xe5,0x4a,0xc5,0x39,0x8d,0xd8,0x53,0xe1,0x54,0x6c,0xe0,0x46,0x3b,0x0b,0x3c,0x99,0x7d,0x0b,0x96,0x92,0xb8,0x55,0x04,0x33,0x1a,0x10,0x18,0xfb,0xc7,0x6e,0x6e,0xd5,0xae,0xfd,0x1b,0x87,0xfc,0x66,0x33,0x05,0x4e,0x40};
    uint256_from_bytes(multiplier, multiplier5);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product5, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier6[32]   = {0x72,0xe6,0xcc,0x3a,0xba,0xbc,0xed,0x20,0x57,0xee,0x05,0xcd,0xe0,0x09,0x02,0xc7,0x7e,0xbf,0xf2,0x06,0x86,0x73,0x47,0x21,0x4c,0xdd,0x20,0x55,0x93,0x0d,0x6e,0xaf};
    static std::uint8_t product6[64]      = {0x33,0x92,0x5d,0xf7,0xea,0xc5,0x75,0xc1,0x24,0x2c,0x0f,0xa9,0x1d,0x7d,0x41,0xef,0x0c,0x40,0x57,0xab,0x6f,0xf7,0xdc,0xdb,0xd8,0xa6,0x16,0x02,0xbd,0xd7,0xa7,0x23,0xbb,0xba,0x99,0xfe,0x17,0xe3,0x4c,0x41,0x36,0xb9,0x19,0x4c,0xdd,0x02,0xce,0x95,0xe9,0xe0,0x11,0xf9,0xa9,0x3a,0xfb,0x65,0x59,0x35,0xae,0x07,0x67,0xa0,0xdb,0xa1};
    uint256_from_bytes(multiplier, multiplier6);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product6, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier7[32]   = {0xc1,0xd3,0xfc,0xff,0x2a,0x3a,0xf4,0xd4,0x6b,0x0a,0x18,0xe8,0x83,0x0e,0x07,0xbc,0x1e,0x39,0x8f,0x10,0x12,0xbd,0x4a,0xce,0xfa,0xec,0xbd,0x38,0x9b,0xe4,0xbc,0xfc};
    static std::uint8_t product7[64]      = {0x92,0xc1,0x53,0x03,0xc4,0x53,0xdb,0xd1,0x19,0xfb,0x04,0x06,0x51,0x8f,0xff,0x0f,0x64,0x2c,0x49,0xe6,0xf4,0x5b,0x57,0x45,0x93,0x56,0x6f,0xfa,0x7e,0x96,0x2e,0xc5,0x90,0xad,0xd7,0xdc,0x85,0xa6,0xf2,0x1a,0xa3,0x18,0xed,0x50,0x15,0x5b,0x64,0x19,0x43,0xcb,0xff,0x8d,0x9a,0x30,0xa7,0x1c,0xf2,0xad,0x8f,0x7a,0x54,0x63,0x18,0x10};
    uint256_from_bytes(multiplier, multiplier7);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product7, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier8[32]   = {0xb1,0xfe,0xe0,0x8f,0x57,0x12,0x42,0x42,0x50,0x51,0xc1,0xcc,0xd1,0x7f,0x9a,0xca,0xe0,0x1f,0x50,0x57,0xca,0x02,0x13,0x5e,0x92,0xb1,0xd3,0xf2,0x8e,0xde,0x0d,0x7a};
    static std::uint8_t product8[64]      = {0x7b,0xc2,0x70,0x48,0x97,0xd3,0x30,0x7d,0x86,0x9f,0xed,0x35,0x0f,0xb0,0x3e,0x85,0x32,0x6c,0xf0,0x1f,0xb6,0xdd,0x22,0xec,0xea,0xa0,0x40,0xdd,0xa4,0x37,0xd4,0x57,0x49,0x3a,0x6a,0x07,0xbe,0x4e,0x5e,0xd9,0x7f,0x88,0x55,0xf5,0x68,0x3b,0x00,0x05,0x34,0x43,0x0a,0x46,0x0e,0xd2,0x95,0x5a,0x40,0x77,0xae,0x36,0xb8,0x4d,0x9e,0x24};
    uint256_from_bytes(multiplier, multiplier8);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product8, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier9[32]   = {0xb3,0x94,0xfb,0x36,0xbb,0x2d,0x42,0x0f,0x0f,0x88,0x08,0x0b,0x10,0xa3,0xd6,0xb2,0xaa,0x05,0xe1,0x1a,0xb2,0x71,0x59,0x45,0x79,0x5e,0x82,0x29,0x45,0x1a,0xbd,0x81};
    static std::uint8_t product9[64]      = {0x7d,0xf9,0xae,0x01,0xf7,0x8e,0x15,0x73,0xb0,0x9e,0xbd,0xda,0x5e,0x41,0x69,0x72,0x59,0xb4,0xd0,0xbb,0xa3,0x5f,0x5f,0x5e,0xc0,0x1a,0xb6,0x4f,0xb3,0x32,0x7d,0xde,0x38,0xcd,0xba,0x6e,0x7a,0xe5,0x29,0x31,0x81,0xac,0x08,0x19,0x78,0xea,0x59,0xa8,0x6f,0x1a,0xc7,0x91,0x63,0xdf,0xd1,0x27,0x7a,0x6b,0x24,0x44,0x94,0x7b,0xbb,0x01};
    uint256_from_bytes(multiplier, multiplier9);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product9, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier10[32]   = {0xb7,0x74,0xeb,0x52,0x48,0xdb,0x40,0xaf,0x72,0x15,0x83,0x70,0xd2,0x69,0xa9,0xa5,0xae,0x65,0x8f,0x33,0xfe,0x3b,0x89,0x0b,0x93,0xf4,0x48,0xb3,0xa5,0xaa,0x3c,0x81};
    static std::uint8_t product10[64]      = {0x83,0x78,0x5d,0xd5,0xbf,0x0b,0xa9,0x62,0xbe,0x0d,0xc1,0x6d,0x6c,0xdc,0x92,0xe7,0xad,0xfe,0xd3,0xa1,0x8e,0xd0,0x49,0x78,0xb5,0xb5,0x39,0x1f,0x19,0x68,0xb7,0xeb,0x1c,0x7f,0x4e,0x15,0xd1,0x88,0x3e,0xb7,0x4b,0xa7,0x9d,0x60,0x74,0xf4,0x75,0x44,0xcd,0x13,0x61,0x47,0x4c,0x34,0x1e,0x56,0x55,0x36,0x0f,0x98,0xb3,0xa0,0xb9,0x01};
    uint256_from_bytes(multiplier, multiplier10);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product10, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier11[32]   = {0xbd,0x05,0x61,0xe6,0x21,0x1c,0x70,0xcf,0x49,0x95,0x23,0x99,0xc4,0xaa,0xea,0xc1,0x37,0xdc,0x76,0xfb,0x0f,0x17,0xa3,0x00,0x7e,0x62,0xaa,0x0a,0x1d,0xf9,0xfd,0x78};
    static std::uint8_t product11[64]      = {0x8b,0x90,0xf2,0xaa,0xc5,0x51,0x7d,0xa5,0x8b,0x9f,0x38,0xdd,0xfd,0x63,0x20,0xad,0x62,0xdf,0x8f,0xab,0xb8,0xff,0x1f,0x64,0xfe,0x6f,0xbc,0x4d,0x8c,0xb0,0x1d,0x60,0x38,0x66,0xad,0x57,0x28,0xb8,0x81,0xe8,0xb3,0x6e,0xc5,0x0a,0xbe,0xdf,0x29,0x98,0x14,0x64,0x7f,0x84,0x8a,0x89,0x49,0x1e,0x8f,0x8d,0xc4,0xec,0x3e,0x66,0x68,0x40};
    uint256_from_bytes(multiplier, multiplier11);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product11, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier12[32]   = {0x72,0xfd,0xf2,0x02,0x2a,0x96,0xfb,0x1a,0x14,0xa0,0xf9,0xe7,0x7f,0x1b,0x10,0x3c,0xdf,0x15,0x82,0xb0,0xea,0xb4,0x77,0xd2,0x64,0x15,0x47,0x9c,0x65,0xdc,0x9f,0x50};
    static std::uint8_t product12[64]      = {0x33,0xa7,0x27,0x72,0x2a,0xfe,0xbe,0x99,0xb0,0x1b,0x43,0x98,0x93,0x64,0x0f,0xa2,0x23,0x85,0x87,0x37,0x6f,0x33,0x92,0xcc,0xdd,0xcf,0xf1,0x6d,0xea,0xab,0x77,0x24,0x8c,0xa3,0x1a,0x77,0xbf,0xfc,0x46,0xfd,0x8c,0xf2,0xfa,0x7b,0x18,0x39,0xfa,0x8a,0x65,0x0c,0x64,0x7f,0x85,0xd6,0xf1,0xf5,0x50,0xe8,0x5d,0x57,0x54,0xa4,0x79,0x00};
    uint256_from_bytes(multiplier, multiplier12);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product12, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier13[32]   = {0x8c,0xdb,0x30,0x5f,0xdd,0x2e,0x16,0x09,0x6e,0x36,0xaa,0xb0,0xd1,0xbc,0x52,0xd9,0x23,0x0d,0x97,0x7e,0xe2,0x25,0x71,0x59,0x47,0x20,0x77,0x1f,0x8c,0xa8,0x18,0x11};
    static std::uint8_t product13[64]      = {0x4d,0x80,0x78,0x94,0xa7,0x12,0xeb,0xcb,0x34,0x3e,0xda,0xe5,0xf2,0x15,0x6e,0x5a,0x7c,0xfb,0xb2,0xd1,0x4a,0x04,0xbe,0x16,0x82,0x6c,0xfe,0x94,0x08,0x53,0x95,0xe7,0x1f,0x23,0x44,0x76,0x20,0xd5,0x12,0x8e,0xc2,0x7c,0x04,0x6b,0xe1,0x16,0x3d,0x19,0x2e,0x8c,0xe6,0x1e,0xaa,0x60,0x7d,0xd9,0x16,0x9d,0xea,0xd0,0x30,0x93,0x31,0x21};
    uint256_from_bytes(multiplier, multiplier13);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product13, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier14[32]   = {0xf5,0x2d,0xdf,0x5d,0x61,0x64,0x99,0xc9,0xe2,0x5a,0x76,0x05,0xae,0xc6,0xf0,0x24,0x5b,0xd8,0x6d,0x40,0xfc,0x89,0x1b,0x4a,0x6a,0x50,0xdf,0x4d,0xb4,0xd6,0x6a,0x3a};
    static std::uint8_t product14[64]      = {0xea,0xd0,0xd5,0xc1,0x06,0x22,0x9d,0x77,0xa8,0x4d,0x92,0xcf,0xed,0x84,0x34,0x17,0x75,0xa5,0xa3,0x39,0x3a,0x3f,0x83,0x80,0xa3,0x9e,0xb9,0x0b,0xfa,0xfc,0x0b,0x2a,0x33,0xf1,0xeb,0xfe,0x59,0x1f,0xda,0x61,0x5e,0x9f,0x75,0x64,0xdf,0x59,0xd6,0xc0,0x2e,0xbe,0xbf,0x2a,0x55,0x8c,0xb4,0x26,0x42,0x0b,0x2b,0xdb,0x55,0x0c,0x15,0x24};
    uint256_from_bytes(multiplier, multiplier14);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product14, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier15[32]   = {0x03,0x16,0x90,0x9e,0x3b,0xbb,0xe9,0xea,0xa8,0x94,0x8c,0x89,0x3b,0x61,0x86,0x76,0x26,0xbb,0x7d,0xbd,0x2d,0x1c,0x9a,0xf0,0x15,0x3e,0x7c,0x2a,0x26,0xa2,0xc0,0xbd};
    static std::uint8_t product15[64]      = {0x00,0x09,0x89,0x60,0xe2,0x4b,0x10,0xc8,0xe5,0x55,0x57,0xe4,0x50,0xb6,0x19,0xe0,0x7d,0x1f,0xae,0xaa,0xad,0xbd,0x64,0xf0,0xf0,0xdb,0xe2,0xd6,0x3d,0xfe,0x1f,0x72,0x11,0xe6,0x3e,0x12,0x44,0x73,0x6d,0xd4,0x01,0x6b,0xc8,0xd4,0x23,0x5d,0x25,0x3a,0xab,0xc3,0xa9,0x92,0x27,0x5f,0x0d,0x32,0xbb,0x7f,0x0e,0xb4,0x9c,0x50,0x0b,0x89};
    uint256_from_bytes(multiplier, multiplier15);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product15, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier16[32]   = {0x65,0xe7,0xe4,0x23,0x64,0x72,0xf1,0xa3,0x8f,0x2c,0x6e,0xc8,0xcc,0x41,0x69,0xa3,0xae,0x3a,0x2b,0x7f,0xdf,0xe0,0x18,0x93,0xf3,0xae,0xd0,0xb6,0xc7,0xac,0x14,0x91};
    static std::uint8_t product16[64]      = {0x28,0x90,0xcc,0x11,0x70,0x71,0x09,0xec,0x81,0x68,0xdb,0xbe,0x8c,0xa3,0xc8,0x55,0x00,0x93,0x98,0xf2,0x7c,0x10,0x4f,0x5c,0xb1,0xfb,0x82,0xfb,0x1f,0x82,0x47,0x85,0xda,0x2c,0xf9,0x57,0x90,0x1c,0x93,0xb7,0x5f,0xf2,0x71,0xdb,0x4b,0x45,0x19,0xc0,0x92,0xef,0xa5,0xcb,0x90,0xec,0x72,0x75,0x60,0xf1,0xd9,0xd1,0x12,0x7e,0xfa,0x21};
    uint256_from_bytes(multiplier, multiplier16);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product16, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier17[32]   = {0x1a,0x35,0x8c,0xa0,0x0d,0x75,0x98,0x5d,0x99,0xc9,0x43,0x09,0x57,0x0d,0xc1,0x95,0x1c,0x24,0x42,0xf9,0x29,0x8c,0xb3,0xa5,0x70,0xcc,0xec,0x31,0x35,0x71,0x81,0x0a};
    static std::uint8_t product17[64]      = {0x02,0xae,0xeb,0xc4,0x0a,0x40,0xe8,0x6d,0x8c,0x58,0x8b,0xa6,0x26,0x4f,0x25,0x86,0x9f,0xfb,0x0a,0x8a,0x5b,0x7e,0x2e,0x40,0x81,0x50,0x32,0xc1,0xbf,0x25,0x62,0x0f,0xa1,0x51,0x6c,0x3c,0x1c,0xda,0xc9,0xfe,0x99,0x83,0xb7,0xf9,0x84,0xcf,0xc7,0x86,0x3d,0x40,0x37,0xce,0x4c,0xcf,0x94,0xb1,0x2e,0x76,0x07,0x95,0x4f,0xdf,0x14,0x64};
    uint256_from_bytes(multiplier, multiplier17);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product17, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier18[32]   = {0x06,0x87,0x39,0xfa,0x9d,0x1d,0xe2,0xa0,0x5d,0x15,0x8a,0x2f,0xf2,0xee,0x4e,0x45,0x19,0xf9,0x91,0x9c,0x89,0x5f,0xd7,0xb3,0x26,0xb9,0x4c,0x7f,0x91,0x18,0xbb,0x16};
    static std::uint8_t product18[64]      = {0x00,0x2a,0x9e,0x25,0xf2,0xd0,0xab,0x73,0x17,0x36,0xe5,0x51,0x36,0xb1,0xae,0x05,0x05,0xfc,0x1f,0xa4,0x7e,0x60,0x0e,0x58,0x0f,0xa7,0xea,0x9a,0xdb,0xb3,0x20,0x97,0x3e,0x55,0xcf,0x0d,0x06,0xae,0x88,0x02,0xb5,0x5b,0x01,0x51,0x1f,0x62,0x90,0x2a,0xd2,0x53,0xe0,0x5a,0x5f,0x77,0x9f,0xc4,0xe5,0xa7,0xb6,0x26,0x88,0xd9,0x25,0xe4};
    uint256_from_bytes(multiplier, multiplier18);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product18, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier19[32]   = {0xf4,0x99,0x8d,0x7c,0x40,0x93,0xf6,0xde,0xa2,0x68,0xaa,0x87,0x26,0x07,0x67,0x9d,0x60,0x50,0x91,0x4a,0x9d,0x33,0xa0,0x1c,0x35,0x3c,0x63,0x1c,0xdf,0xd4,0x3f,0x37};
    static std::uint8_t product19[64]      = {0xe9,0xb5,0x11,0xcf,0x47,0xd1,0x5a,0xe7,0x19,0x48,0x5d,0xb6,0xda,0x3b,0x20,0x65,0x7f,0x8b,0xf4,0x3b,0xdf,0x5a,0x5c,0x9a,0xb1,0xad,0x62,0x2e,0x11,0xc9,0xcc,0xbc,0x0d,0x65,0x1a,0x8c,0x37,0x57,0x35,0xe9,0xc7,0xa9,0x37,0x65,0xaf,0xfd,0x6f,0x0e,0xac,0xe8,0x33,0x49,0x7b,0xf2,0xba,0x12,0x4a,0xcd,0xd4,0x22,0x94,0xb4,0x1d,0xd1};
    uint256_from_bytes(multiplier, multiplier19);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product19, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier20[32]   = {0xbf,0xea,0xa1,0x55,0x1a,0x28,0xf7,0xb3,0x24,0xe4,0xe2,0x5a,0x15,0xfc,0x89,0x9e,0x4f,0xd5,0x8d,0xbe,0x7b,0xdc,0x96,0x8b,0x7a,0xfb,0x2c,0x68,0x77,0x4b,0x15,0xd7};
    static std::uint8_t product20[64]      = {0x8f,0xdf,0xf3,0xc8,0x52,0x49,0x1b,0xb4,0x0d,0xfd,0x26,0x6d,0x59,0x57,0xda,0x8f,0x62,0x24,0xd7,0x09,0x86,0x58,0xf4,0x38,0xca,0x12,0x4b,0xe3,0x5c,0x7f,0xd6,0x15,0xa5,0xb1,0x5c,0x5f,0xa5,0x14,0xca,0x60,0xb6,0x57,0x43,0xd6,0x9e,0xff,0x68,0xc8,0xa9,0x59,0x73,0x2f,0x5a,0xeb,0x3d,0x2a,0xb3,0xb4,0x8b,0x03,0xaf,0xd6,0xfa,0x91};
    uint256_from_bytes(multiplier, multiplier20);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product20, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier21[32]   = {0x05,0xe9,0x99,0xf3,0x84,0x2e,0x7f,0xc2,0x29,0x54,0x0a,0x6e,0xb1,0x2a,0xa1,0xf6,0xd4,0x2f,0xdd,0xbb,0x7a,0x86,0xf7,0xa2,0x43,0xc7,0x1b,0x9a,0xbd,0x87,0xa8,0x65};
    static std::uint8_t product21[64]      = {0x00,0x22,0xf5,0x2d,0x1d,0x05,0x69,0x45,0xee,0x49,0x1f,0x96,0x9e,0x96,0x05,0x11,0xb7,0x01,0xee,0xd6,0xda,0x9e,0x19,0xc8,0x92,0x5f,0x8e,0x5f,0x6c,0x26,0xb8,0xcf,0x3c,0x23,0xa4,0x50,0x92,0x2a,0x6c,0xfd,0x03,0x79,0x96,0x0b,0xda,0xf3,0xb2,0x84,0xad,0xdd,0x78,0xf5,0x21,0x21,0xb2,0x63,0xdc,0x13,0x7e,0x0c,0x2b,0x4a,0xb7,0xd9};
    uint256_from_bytes(multiplier, multiplier21);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product21, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier22[32]   = {0xea,0x05,0x75,0x43,0x8b,0x0d,0x59,0x0b,0xb0,0xa8,0x44,0xe5,0x25,0x87,0xbe,0x6b,0x5c,0x9b,0xcf,0x35,0x87,0x3b,0xe0,0x78,0xf3,0xb7,0xa5,0x0d,0xf3,0x73,0xca,0x53};
    static std::uint8_t product22[64]      = {0xd5,0xed,0xfa,0x7d,0x44,0x8e,0xa4,0x3b,0x21,0x51,0x4f,0x82,0xbc,0x9c,0xf0,0xee,0xec,0xe6,0x89,0x6d,0xf4,0xb6,0x31,0xd4,0xb2,0x51,0x19,0x2e,0x39,0x73,0x21,0x89,0xfa,0x3b,0x54,0x86,0x33,0x5c,0x43,0x9c,0x0c,0x10,0xdc,0x1f,0x5f,0x1f,0x2e,0xe2,0x47,0xe1,0xa5,0x55,0x8b,0x6b,0xcc,0x0a,0xb8,0xc0,0x90,0xe6,0xf8,0x79,0x16,0xe9};
    uint256_from_bytes(multiplier, multiplier22);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product22, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier23[32]   = {0x56,0x75,0xf6,0xad,0x32,0x5b,0x55,0xdd,0x78,0x57,0x29,0x76,0x3a,0x12,0x91,0x7c,0x1a,0x26,0xf8,0x89,0x38,0x70,0x38,0x00,0x14,0x9e,0x25,0x9b,0x5d,0x58,0xc7,0x05};
    static std::uint8_t product23[64]      = {0x1d,0x33,0x78,0x17,0xc5,0xd6,0xb7,0x21,0xeb,0xaa,0x0e,0x44,0x29,0xd5,0x3b,0xcb,0x13,0x09,0xb1,0xde,0x2a,0x4d,0xfe,0xc5,0x48,0xe9,0xbd,0x27,0x8d,0x7f,0x5c,0x70,0xd5,0x9a,0x9b,0xb6,0xc0,0xf0,0xa6,0xfc,0xc8,0x34,0x7b,0xd7,0x88,0xb6,0xbe,0xa0,0x17,0x00,0x48,0x83,0xe3,0x55,0x8f,0xf4,0x47,0x3e,0x11,0x71,0x10,0x28,0xc6,0x19};
    uint256_from_bytes(multiplier, multiplier23);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product23, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier24[32]   = {0x2d,0xb3,0x99,0x7f,0xe3,0x96,0x39,0xbe,0x7a,0x60,0x5a,0x91,0x33,0x06,0x98,0xa1,0xc0,0x09,0x34,0x92,0xb6,0x24,0x67,0x71,0xc8,0x45,0x00,0x70,0x63,0x77,0x14,0x07};
    static std::uint8_t product24[64]      = {0x08,0x28,0xa1,0xf6,0xfa,0xe5,0x32,0x4e,0xe1,0xcb,0xbe,0x69,0xd0,0x1d,0xc1,0xb1,0x3f,0x33,0x22,0xa3,0x7a,0x9f,0xf8,0xd9,0xf6,0x9f,0x68,0x2e,0x21,0xdc,0x2d,0x78,0x3e,0x4d,0x07,0xf2,0xb5,0x87,0xea,0x2f,0xbb,0xfb,0x4f,0xe2,0x5c,0x6e,0x77,0x93,0x99,0x6d,0xb0,0x7e,0x0f,0x35,0x2f,0x00,0xea,0x9c,0xd7,0x01,0x0a,0x13,0x18,0x31};
    uint256_from_bytes(multiplier, multiplier24);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product24, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier25[32]   = {0xb8,0xc9,0x81,0x7a,0xf8,0xbe,0x88,0x31,0xf2,0x37,0xe4,0x5a,0xcd,0x02,0xc5,0xe1,0x16,0x35,0x3d,0x03,0x55,0x1f,0xd8,0xf9,0xa2,0xc6,0x8e,0x45,0xca,0x04,0xc7,0x9f};
    static std::uint8_t product25[64]      = {0x85,0x62,0x48,0xbd,0x5a,0x29,0xa8,0xbb,0xb7,0x2c,0x8f,0x6d,0x86,0x98,0x04,0x77,0x62,0xa4,0x26,0x40,0x44,0x97,0x2e,0x91,0x33,0x68,0x16,0xac,0x4b,0xce,0x17,0xfb,0x21,0x48,0xb8,0xf6,0xbb,0xf9,0x00,0xa1,0xaf,0xad,0xa1,0x4f,0x9e,0xa4,0x28,0x5e,0xe9,0xf8,0xfc,0x2d,0xb3,0x5e,0xae,0x7b,0xd9,0x67,0x8a,0xd3,0xc4,0xa0,0x94,0xc1};
    uint256_from_bytes(multiplier, multiplier25);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product25, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier26[32]   = {0xa7,0xe6,0x52,0x9b,0xce,0x76,0xe9,0xf4,0x77,0x21,0x6e,0x9e,0xe7,0xa4,0x63,0x09,0x97,0x3f,0x79,0x86,0x26,0xb1,0xcf,0xfc,0x07,0x0d,0x71,0x09,0x20,0x85,0x96,0x34};
    static std::uint8_t product26[64]      = {0x6e,0x1e,0x4e,0xff,0xd1,0xfe,0x52,0x01,0x2f,0x17,0x30,0x81,0xb8,0x01,0x00,0x92,0x2a,0xe4,0xfd,0xd4,0x2e,0x45,0xf1,0xf3,0x91,0x7d,0xc9,0x98,0x97,0xaa,0x29,0x7e,0xe2,0xd8,0x9b,0xca,0x0e,0xb0,0xac,0x90,0x81,0x1c,0x6d,0xee,0x79,0x8c,0xa0,0x90,0x3d,0x2a,0x11,0x34,0x60,0x6d,0x79,0x31,0x55,0x68,0x22,0xea,0x6a,0x28,0xfa,0x90};
    uint256_from_bytes(multiplier, multiplier26);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product26, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier27[32]   = {0x59,0xb4,0x4e,0x92,0xef,0xfd,0xde,0xea,0xa8,0x42,0xbc,0x19,0x79,0x6f,0x74,0xad,0xfa,0xf5,0x54,0x96,0x98,0x8a,0xf3,0xfb,0xd3,0x96,0x30,0xd6,0x9c,0x90,0x11,0xef};
    static std::uint8_t product27[64]      = {0x1f,0x6e,0xdd,0xa0,0xc1,0x9d,0xe0,0x95,0xf5,0x60,0x48,0xcf,0x55,0x19,0x58,0xf6,0x9d,0x4e,0x70,0xcf,0x28,0x88,0xdf,0x72,0xaf,0xf2,0xc8,0x58,0x8f,0x0a,0xae,0x5f,0xb7,0x3e,0x53,0x77,0x73,0x89,0xda,0x53,0x94,0x2f,0xce,0x7d,0xce,0x24,0x79,0x60,0x5d,0x77,0xdb,0x62,0xb5,0x21,0x09,0xaf,0x25,0x6b,0x82,0x83,0x76,0x21,0x9d,0x21};
    uint256_from_bytes(multiplier, multiplier27);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product27, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier28[32]   = {0xdf,0x2a,0x8b,0x79,0xfc,0x8e,0x80,0xb3,0x6f,0x0e,0x22,0x89,0x23,0xa5,0xef,0x88,0xef,0x02,0x09,0x0b,0xbf,0xde,0xfc,0x15,0x86,0xce,0x03,0xf9,0x1a,0x4f,0x44,0xf9};
    static std::uint8_t product28[64]      = {0xc2,0x8b,0x26,0x10,0x96,0x04,0xd5,0x5e,0x4d,0xfc,0x71,0xba,0xe0,0x5f,0x50,0x9b,0xfd,0x1c,0x09,0x3f,0x6a,0x7e,0x53,0x2f,0x61,0x90,0x88,0x65,0x68,0x14,0xf8,0xa7,0x12,0x71,0x16,0x9f,0x64,0xa8,0xcf,0xbb,0xaf,0xbf,0x57,0xb2,0x83,0xb4,0x18,0x49,0x6d,0x74,0xbe,0x6a,0xbb,0x28,0xa5,0xa3,0xb9,0x42,0x34,0xf0,0x38,0x43,0x3a,0x31};
    uint256_from_bytes(multiplier, multiplier28);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product28, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier29[32]   = {0x80,0x4c,0x25,0xd6,0x4a,0xff,0xdc,0xd1,0x36,0x78,0xbc,0x8d,0x40,0x78,0x3f,0x0a,0x07,0x2a,0x98,0xd2,0x36,0x06,0xde,0xfc,0xdf,0xb8,0x5c,0x0d,0xd3,0x7e,0xe9,0x15};
    static std::uint8_t product29[64]      = {0x40,0x4c,0x3c,0x7c,0xc7,0xd4,0x09,0xcb,0xc2,0x43,0xa7,0x25,0xc7,0x73,0x29,0x5c,0xcb,0xda,0xe6,0xe1,0x77,0x89,0x37,0xfc,0x7f,0xbe,0xbb,0xa2,0xd7,0xe1,0xfa,0x4a,0x74,0x71,0xef,0xfc,0x62,0x84,0x67,0x6a,0x04,0xed,0xd8,0x26,0xd2,0xac,0x25,0x24,0x6d,0xe2,0xb5,0xe8,0xd2,0x88,0x5e,0x9c,0x05,0x55,0x37,0x44,0xe2,0xe3,0x3b,0xb9};
    uint256_from_bytes(multiplier, multiplier29);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product29, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier30[32]   = {0x21,0x8e,0x0b,0x7b,0xd5,0x8d,0xcd,0xb4,0x6b,0x44,0x68,0x06,0x8b,0x5a,0xb3,0xee,0x42,0x65,0xbb,0x31,0x53,0x74,0x09,0x02,0x96,0x20,0xbf,0x0d,0xc3,0x80,0x84,0xa0};
    static std::uint8_t product30[64]      = {0x04,0x65,0xed,0xc6,0xaa,0xf3,0x58,0x99,0xcf,0xe5,0x16,0x26,0x84,0x64,0xf2,0xae,0xcc,0xe8,0xba,0xbb,0xbe,0xfc,0xd4,0x90,0xb2,0x4d,0x15,0xfa,0x30,0xc1,0xdf,0x92,0x54,0x03,0x1e,0x6d,0x00,0xec,0x74,0x83,0x07,0x10,0xbf,0xfb,0x3e,0x42,0x98,0x52,0xce,0x6f,0x5f,0xc2,0x7b,0x76,0x58,0x83,0xde,0x41,0x42,0xd0,0xa4,0xb5,0x64,0x00};
    uint256_from_bytes(multiplier, multiplier30);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product30, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier31[32]   = {0x88,0x25,0xae,0x56,0x21,0x79,0xb3,0x7d,0x80,0x6c,0x10,0xb5,0xe0,0xcf,0xab,0x4c,0xea,0xef,0xc4,0xd2,0xd3,0xbf,0x6d,0x01,0x6b,0xae,0x4b,0x5b,0x84,0x4a,0x70,0x34};
    static std::uint8_t product31[64]      = {0x48,0x68,0x0e,0xc7,0x5f,0x30,0x2e,0x5f,0x2c,0xdd,0xbe,0x04,0xc8,0x5a,0x1b,0x6b,0x0f,0x75,0x48,0x48,0x61,0x92,0xc7,0x8b,0xbb,0x39,0xf6,0x58,0x5a,0x79,0xac,0x7e,0x21,0x64,0x83,0x44,0xa8,0x40,0xf4,0xbf,0x2e,0x74,0x30,0x96,0x30,0x4b,0x27,0xb5,0x56,0x7d,0x80,0x60,0x98,0xe5,0xf7,0x9e,0xed,0xb7,0x16,0x52,0xaf,0x3d,0x8a,0x90};
    uint256_from_bytes(multiplier, multiplier31);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product31, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier32[32]   = {0x9b,0xca,0x3c,0xb7,0x2e,0xe0,0x28,0x9d,0xc6,0xc9,0x1b,0x92,0x70,0xac,0x06,0xac,0xdf,0x70,0x30,0x17,0x04,0xc9,0xd7,0x8d,0x82,0xb3,0x35,0x99,0x86,0x04,0x87,0x19};
    static std::uint8_t product32[64]      = {0x5e,0xce,0x85,0x49,0xb2,0x3f,0xcb,0xfc,0x47,0xce,0x96,0x63,0x1d,0xfa,0x04,0xf2,0xbe,0xdd,0x54,0x14,0x66,0x30,0x50,0x2d,0x6e,0x26,0x56,0x08,0x43,0x17,0xbc,0x0a,0xef,0xe0,0x4d,0xa5,0x50,0xfd,0xb0,0x23,0xb8,0x85,0xf1,0xe5,0x61,0xec,0xe7,0x9c,0xc2,0xc9,0xa7,0xf0,0x15,0x31,0xc0,0xa3,0xa8,0x78,0x93,0x64,0xac,0x13,0x60,0x71};
    uint256_from_bytes(multiplier, multiplier32);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product32, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier33[32]   = {0xb9,0xa6,0x44,0x2e,0x9e,0x7d,0x6b,0x37,0x79,0x36,0xd5,0x36,0x24,0x3d,0x35,0x70,0x2c,0x1e,0xea,0x1f,0x26,0x59,0x74,0xa7,0xcc,0x96,0x6f,0x46,0xc6,0xaa,0x7d,0x55};
    static std::uint8_t product33[64]      = {0x86,0xa1,0xba,0x87,0xdf,0xaf,0x9c,0x4d,0x31,0x49,0x81,0x63,0xce,0x44,0x53,0x67,0x28,0x6b,0x64,0xd0,0x22,0xf5,0xfa,0x8a,0xbf,0x16,0xa4,0x7a,0xaf,0x82,0x3b,0x95,0xb3,0x5e,0x6c,0xe9,0x7e,0x02,0xaa,0xdd,0xd9,0xfa,0xf8,0x99,0x2a,0xe3,0xc6,0xc5,0xa9,0x23,0xea,0x77,0x79,0x0d,0x88,0x49,0x6f,0xb4,0x6b,0xe6,0x2e,0x40,0x1e,0x39};
    uint256_from_bytes(multiplier, multiplier33);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product33, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier34[32]   = {0x46,0xe4,0x09,0x90,0x30,0xf9,0x70,0x58,0x3f,0x9d,0x52,0xf9,0x0e,0x8b,0xec,0x94,0x8f,0x6f,0x91,0x5f,0xe2,0x1b,0x37,0xca,0x1b,0x29,0xfc,0x99,0xc6,0xc8,0x0e,0x2b};
    static std::uint8_t product34[64]      = {0x13,0xa1,0x80,0x5b,0xe3,0xfb,0x1a,0x69,0x0b,0xde,0x6e,0x89,0x75,0x3d,0x5f,0x13,0x1d,0xa1,0xa7,0xd6,0x6b,0xb4,0xa3,0xa3,0x6a,0x04,0x0f,0x7a,0x27,0x33,0x6c,0x22,0x52,0x70,0x19,0x57,0x78,0x9f,0x05,0x5f,0xf0,0xb7,0x55,0x89,0x03,0x9f,0x8c,0x6e,0x32,0xe8,0xf9,0x63,0xe5,0x4d,0xd0,0xa6,0xad,0x25,0xa9,0xa6,0xa7,0xf8,0xbb,0x39};
    uint256_from_bytes(multiplier, multiplier34);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product34, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier35[32]   = {0x83,0x1d,0x03,0xbf,0x9b,0x2b,0xd6,0xc0,0x81,0x6b,0xee,0x06,0xf9,0x2e,0x23,0x39,0x9c,0xce,0xa0,0x98,0x53,0x5b,0x6a,0x43,0x71,0x78,0xba,0x0a,0x10,0x38,0xf0,0xb5};
    static std::uint8_t product35[64]      = {0x43,0x26,0xb5,0x1f,0xf2,0x46,0x12,0xc3,0x9c,0x92,0xdb,0xe7,0xac,0xc5,0x9a,0x61,0x16,0x91,0x23,0x6b,0x7b,0x85,0x76,0xc2,0x9f,0x40,0x8d,0xf7,0xe6,0x75,0xef,0x82,0x78,0x3e,0x0c,0x2b,0x07,0x35,0xc4,0x22,0xd0,0xb4,0xac,0x9f,0x2d,0xbc,0x90,0x07,0xc7,0x06,0x0f,0x5f,0xf6,0xc5,0xfc,0x97,0x76,0xf0,0xfc,0xe4,0xd1,0x83,0xdf,0xf9};
    uint256_from_bytes(multiplier, multiplier35);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product35, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier36[32]   = {0x6a,0xa8,0xb9,0xe0,0x23,0x1b,0x3e,0x14,0x72,0x91,0x35,0xbd,0xd7,0x0a,0x39,0xd1,0x33,0xdc,0xd7,0x7f,0xf1,0x79,0xf2,0xd2,0xe4,0x8b,0x96,0x62,0x8f,0x3c,0x4b,0xe3};
    static std::uint8_t product36[64]      = {0x2c,0x70,0x29,0x22,0x1a,0x36,0x5a,0x25,0x3d,0xed,0x46,0x55,0xdb,0xba,0xea,0xc5,0xe9,0xd2,0xa7,0x65,0xb1,0x9a,0x86,0x44,0xfb,0x2e,0xd8,0x34,0x71,0x17,0x2e,0x4b,0x25,0x78,0x31,0xcc,0xee,0xcb,0x21,0xb8,0xec,0xf4,0x60,0x51,0x6d,0x8a,0x39,0xd3,0xa9,0xab,0x83,0x98,0x57,0x7e,0x44,0xdf,0x63,0xbe,0x88,0xc7,0x42,0xe6,0xcb,0x49};
    uint256_from_bytes(multiplier, multiplier36);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product36, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier37[32]   = {0x12,0xb8,0x0a,0xed,0x6d,0xa7,0x9a,0x87,0x3d,0x9a,0x80,0x79,0xab,0xd0,0xd7,0xfb,0x12,0x92,0x61,0x85,0x50,0xe4,0x0d,0x54,0x71,0x2e,0xa6,0xb3,0x64,0x71,0xfd,0xe4};
    static std::uint8_t product37[64]      = {0x01,0x5e,0x65,0xd9,0x19,0x30,0x9b,0x6e,0x76,0x71,0x1e,0xb4,0x11,0x5a,0xab,0xd5,0x5e,0x7d,0xb0,0x5f,0xa1,0xea,0x37,0xdf,0x4e,0xc5,0x89,0xec,0xf4,0x61,0x10,0xda,0x57,0x57,0x4e,0xd0,0x76,0x41,0x17,0x90,0xf6,0x00,0x8e,0x18,0x73,0xe1,0x09,0xf8,0xac,0xd0,0x96,0x3a,0xf0,0x69,0xa4,0xb3,0xfa,0x05,0xfd,0xf4,0x3f,0x14,0x73,0x10};
    uint256_from_bytes(multiplier, multiplier37);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product37, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier38[32]   = {0xf7,0xb1,0x03,0xdf,0x23,0x23,0x1e,0x1e,0xe2,0x01,0x55,0x22,0x40,0xcb,0xac,0xd0,0x24,0x9a,0x45,0x84,0x5d,0xbe,0x30,0x23,0xa9,0x06,0x92,0x2f,0xa4,0xb9,0xa9,0xc4};
    static std::uint8_t product38[64]      = {0xef,0xa7,0x0f,0xde,0xf0,0x6b,0x58,0x00,0x4d,0x88,0xea,0x47,0x4a,0x81,0x2a,0xa6,0xfc,0x38,0x01,0x70,0x48,0x7a,0x35,0x92,0x79,0xbd,0x55,0x6c,0x31,0x33,0xf2,0xac,0x3b,0xad,0x55,0x95,0xac,0x3d,0xaf,0x18,0xdf,0x78,0xb5,0x58,0xee,0xb1,0x25,0xdf,0x0f,0x69,0xa7,0x0b,0x26,0x91,0x27,0x32,0x68,0xfe,0x4e,0x21,0xed,0xdc,0x5e,0x10};
    uint256_from_bytes(multiplier, multiplier38);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product38, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier39[32]   = {0x83,0xfe,0xb1,0x7b,0xfe,0x7b,0x8a,0xe4,0x6e,0x78,0x36,0xa4,0xb4,0xd1,0x9e,0xc1,0x29,0x55,0xd6,0xf0,0x39,0x45,0x33,0x6b,0xd5,0x1b,0x18,0x15,0xaa,0xf7,0x19,0xf3};
    static std::uint8_t product39[64]      = {0x44,0x0e,0xa7,0x09,0x93,0x8c,0x1f,0x42,0xc4,0x1a,0xf9,0xf9,0x71,0x0d,0x63,0xa2,0x40,0x5d,0xb1,0x49,0x8c,0xa9,0xd8,0xd1,0xf8,0xae,0x33,0xe7,0x95,0x92,0xc1,0xfe,0xa4,0xa0,0x57,0x5e,0x81,0xa4,0x3e,0x08,0xd4,0x24,0x3e,0xcb,0x78,0xf6,0x3a,0xec,0x03,0x85,0xfb,0x8f,0xb7,0x39,0xd6,0x53,0xaa,0xd6,0xee,0xd7,0xd1,0x8b,0x5c,0xa9};
    uint256_from_bytes(multiplier, multiplier39);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product39, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier40[32]   = {0x5d,0xaf,0x10,0x6d,0xb8,0xde,0xe0,0x81,0x17,0x9a,0x07,0x1e,0x51,0x8a,0xe4,0x52,0x5b,0x4b,0x1b,0x75,0x32,0x1c,0x52,0x96,0x6b,0xd8,0xc6,0x76,0x56,0xd0,0x50,0xcd};
    static std::uint8_t product40[64]      = {0x22,0x48,0xa9,0xa7,0x2f,0x62,0x95,0xf7,0x8b,0x00,0xa3,0x66,0xd3,0x74,0xc3,0x91,0x11,0x68,0x76,0x7d,0x74,0xf7,0x63,0x78,0x41,0xff,0x01,0x38,0x74,0x91,0xf3,0x4f,0x98,0xbc,0x9f,0x85,0x3d,0x70,0xc5,0x88,0x02,0xb7,0x19,0xf7,0x2b,0x23,0x3b,0xbb,0x73,0xfa,0xc6,0x45,0x5e,0xd9,0xec,0x4e,0x1a,0x68,0x38,0xc9,0x22,0xa0,0xc4,0x29};
    uint256_from_bytes(multiplier, multiplier40);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product40, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier41[32]   = {0xa2,0x6a,0xa0,0xae,0x04,0x4f,0x15,0x74,0xf0,0x37,0xaf,0xc6,0x44,0xd8,0x2a,0x53,0x12,0x89,0xba,0xfa,0xe5,0x31,0x69,0x60,0x6c,0xe1,0x93,0xc2,0x2e,0xef,0xa2,0x79};
    static std::uint8_t product41[64]      = {0x67,0x0b,0x1f,0xc5,0xb2,0x69,0xa4,0x52,0x7b,0x43,0x50,0xea,0x8e,0x37,0xc4,0xd8,0x60,0x3e,0x92,0x35,0x12,0x75,0x6c,0xef,0x51,0x43,0xdc,0x63,0x4d,0xcc,0x82,0xdd,0x2e,0x45,0x26,0xc9,0x25,0x69,0xf7,0xdc,0xa1,0x86,0x6c,0x03,0x71,0xb3,0x3f,0x99,0xa8,0xa5,0x10,0x51,0x5b,0x8c,0x64,0x44,0x11,0x16,0x34,0x18,0x41,0x0b,0x5d,0x31};
    uint256_from_bytes(multiplier, multiplier41);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product41, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier42[32]   = {0xf0,0x29,0x05,0x31,0x3d,0x0a,0x27,0x0b,0xb5,0xa4,0x32,0xcf,0x86,0xe3,0xe7,0x26,0x0b,0x0f,0x87,0x3b,0x21,0x14,0xe0,0x68,0x9f,0x27,0xf5,0x2c,0x44,0x92,0x74,0xd2};
    static std::uint8_t product42[64]      = {0xe1,0x4c,0xf0,0x4e,0xfc,0x53,0x8c,0x51,0x48,0x4b,0x4c,0x73,0xfd,0xab,0x18,0x09,0xec,0x2a,0xf9,0x96,0xd7,0x2c,0x5b,0x76,0x59,0xec,0x3e,0x57,0x04,0x0c,0x0a,0x5d,0x65,0x52,0x8d,0x38,0xa5,0x35,0x5d,0x5a,0xce,0xac,0xcf,0xec,0x86,0xe6,0x69,0x01,0x28,0x63,0x22,0x8e,0x03,0xb6,0xff,0x44,0x6c,0x4c,0x3e,0x09,0x04,0xd6,0xfc,0x44};
    uint256_from_bytes(multiplier, multiplier42);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product42, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier43[32]   = {0xac,0x12,0x7e,0x93,0x80,0x05,0xce,0x74,0x72,0x18,0x88,0xff,0x4a,0x3a,0xdf,0x99,0x34,0xb3,0xff,0x60,0xc2,0x6e,0x7a,0x42,0x87,0xf5,0x3d,0xdd,0x4e,0x14,0xd5,0x71};
    static std::uint8_t product43[64]      = {0x73,0xa8,0xdb,0x6c,0x3f,0x5b,0x55,0x3f,0x7f,0x9c,0x8c,0x2b,0xa7,0xd2,0xc9,0x8a,0x3d,0xd9,0x87,0x62,0xf2,0x2a,0x2e,0x0a,0xb5,0xa8,0x4e,0x3f,0xe4,0x72,0xec,0xf5,0xd9,0x30,0x0d,0xc4,0xec,0xfe,0xfd,0x9c,0x96,0x2d,0xd4,0x54,0xc1,0xf6,0xf1,0xd7,0x2b,0x03,0x46,0xdd,0xb0,0x2e,0x65,0xc7,0x8d,0xcb,0x12,0xdc,0xe7,0x9d,0x3b,0xe1};
    uint256_from_bytes(multiplier, multiplier43);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product43, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier44[32]   = {0x03,0xed,0xb9,0x20,0x09,0x75,0x83,0x40,0x40,0x1d,0x68,0xfb,0xfe,0x97,0x7c,0x56,0x04,0xa6,0x56,0x51,0xcd,0xbd,0xe7,0x47,0x58,0xd5,0x0f,0x1b,0x45,0x40,0xf4,0x26};
    static std::uint8_t product44[64]      = {0x00,0x0f,0x6f,0x17,0x0b,0x69,0x96,0x56,0xbb,0xe4,0x8c,0xd0,0x94,0x2a,0xe4,0x5e,0xb9,0x66,0x63,0xde,0x4c,0x04,0x7e,0x20,0x81,0xc3,0x96,0x0d,0xbb,0x22,0x14,0x76,0x92,0x5f,0xda,0x7a,0x89,0xaa,0xd2,0xba,0x83,0xf2,0xa3,0xee,0x44,0x0e,0xce,0x2c,0x29,0xdf,0x14,0xc9,0xe2,0xa2,0x1c,0x09,0xb2,0x48,0x08,0x1b,0x77,0xd8,0x75,0xa4};
    uint256_from_bytes(multiplier, multiplier44);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product44, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier45[32]   = {0xa2,0xcf,0x62,0xba,0xba,0x95,0x88,0x10,0xb4,0xeb,0xf4,0xb6,0xe1,0xc6,0x0a,0xa3,0xd5,0x10,0xbb,0x04,0x32,0xd9,0x0d,0xcd,0x57,0xbb,0x7d,0x97,0x3a,0xc4,0xda,0x9a};
    static std::uint8_t product45[64]      = {0x67,0x8b,0x20,0xf5,0x24,0x32,0x7d,0x15,0x55,0x73,0x5b,0x28,0xb6,0x66,0x9d,0xee,0xb0,0xdc,0xcb,0x4b,0xa4,0x33,0xc7,0x31,0xba,0x0e,0xbb,0xb5,0x83,0xc3,0xa6,0x51,0xd3,0x35,0xb7,0x9d,0x0d,0x86,0x1c,0xb7,0x59,0xdb,0xf7,0x59,0xb1,0x26,0xa9,0x99,0xad,0x33,0xd0,0xc8,0x61,0x0c,0x6f,0x8a,0xa8,0x2e,0x10,0x19,0x3e,0x7a,0xa4,0xa4};
    uint256_from_bytes(multiplier, multiplier45);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product45, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier46[32]   = {0x03,0xa6,0x39,0x66,0x21,0x3b,0xca,0x7f,0xd6,0x44,0xde,0x2f,0x0d,0xec,0x68,0x23,0xfb,0x5c,0x9d,0x56,0x58,0xf9,0x2d,0xea,0xfd,0x4b,0xd0,0x30,0x67,0x9a,0x44,0xdd};
    static std::uint8_t product46[64]      = {0x00,0x0d,0x51,0x46,0xe2,0x19,0x23,0xd4,0xbc,0xf2,0x41,0xfa,0x95,0x84,0x1d,0xbb,0xca,0xe6,0x72,0xdf,0x3f,0x57,0x30,0xca,0xe0,0x2c,0x04,0x56,0xb3,0x63,0xa3,0x16,0x0e,0xa8,0xc6,0x75,0x17,0x1c,0x3e,0x32,0xa1,0x65,0x95,0x66,0xb9,0x59,0xef,0x4e,0xa6,0xc1,0x7c,0xca,0xda,0x97,0xe8,0x06,0xdf,0x2c,0x73,0x40,0xc2,0x6a,0x26,0xc9};
    uint256_from_bytes(multiplier, multiplier46);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product46, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier47[32]   = {0x99,0x49,0x8a,0xc4,0x48,0x2c,0xc7,0x8e,0xf8,0x8e,0xde,0x10,0xab,0xa8,0xb9,0xb3,0x81,0x85,0x79,0x7c,0xde,0xdb,0x91,0x09,0x61,0x81,0x77,0xff,0xd7,0x5d,0x67,0x69};
    static std::uint8_t product47[64]      = {0x5b,0xc8,0xfc,0xff,0x0d,0x6e,0xe4,0x61,0x94,0xb5,0x75,0xe6,0xd5,0x64,0xfb,0x17,0xbf,0x1e,0x99,0xa7,0xbd,0x1f,0x26,0x91,0x72,0x11,0x44,0xa5,0x53,0x25,0x86,0x18,0xe3,0x62,0x66,0xcf,0x7d,0x22,0x06,0x24,0x35,0x56,0xc7,0x81,0x48,0xf7,0x61,0xf9,0xe6,0xc5,0x89,0x40,0x06,0xa7,0xe5,0xc9,0x61,0x37,0xa6,0xf4,0xaa,0x0f,0xa9,0x11};
    uint256_from_bytes(multiplier, multiplier47);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product47, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier48[32]   = {0x72,0x21,0x8f,0xdc,0x44,0xdf,0x96,0xff,0x28,0x54,0x14,0x24,0x2f,0x73,0x3b,0x05,0x75,0x9e,0xb5,0x59,0x0b,0x94,0xaf,0x3a,0x4b,0x05,0xe1,0xae,0xb1,0x53,0xd6,0x9c};
    static std::uint8_t product48[64]      = {0x32,0xe1,0xe8,0x86,0x94,0xf8,0xb6,0x98,0x6b,0x37,0x68,0xb8,0xa1,0x9e,0xd6,0x3c,0x93,0xdc,0x02,0xed,0x59,0x88,0x9c,0x86,0x7b,0xe7,0x6b,0xe3,0xa4,0xe7,0x1d,0xff,0x55,0xcb,0xfb,0x6c,0x90,0xbc,0x35,0xc3,0xfe,0x06,0x8a,0x24,0x7d,0x15,0xc2,0x01,0x6e,0xc1,0x99,0xd1,0x79,0x75,0x1e,0xa0,0xb2,0x22,0xfe,0x48,0x95,0x11,0x2f,0x10};
    uint256_from_bytes(multiplier, multiplier48);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product48, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier49[32]   = {0x52,0xd3,0x1e,0x1b,0x8c,0x0d,0x00,0x33,0xfc,0x23,0x25,0xa9,0xf8,0xfd,0xd2,0x08,0x54,0x34,0x81,0x56,0xf6,0x37,0xa4,0x68,0x5d,0x38,0x5e,0x06,0x43,0x63,0xe5,0xd9};
    static std::uint8_t product49[64]      = {0x1a,0xcb,0xed,0x64,0x4a,0xab,0xa9,0x59,0x86,0xa0,0x99,0x02,0x46,0xfe,0xec,0x7d,0xbc,0x5f,0xd3,0x1a,0x96,0xc5,0x36,0xf2,0x8b,0x25,0x30,0x10,0xb5,0x4f,0x9e,0xdc,0x50,0x9e,0x56,0xa0,0xaa,0x30,0xe5,0x43,0xe9,0xdc,0x96,0xfb,0x3b,0x3d,0x12,0x04,0x45,0x56,0x7e,0x9e,0x61,0x23,0x72,0xa8,0xd0,0x27,0x93,0x77,0x2a,0x33,0xf1,0xf1};
    uint256_from_bytes(multiplier, multiplier49);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product49, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier50[32]   = {0x00,0x46,0x0d,0x69,0x2e,0xd6,0x54,0x11,0x5b,0x49,0x15,0x61,0x37,0xc6,0x0e,0x98,0x4f,0x3e,0x88,0x5e,0xe1,0xe4,0x37,0xb7,0xf7,0x35,0xef,0xe6,0x08,0xd1,0x80,0x11};
    static std::uint8_t product50[64]      = {0x00,0x00,0x13,0x2b,0x56,0x39,0x77,0x2f,0x32,0x6a,0x5f,0x20,0xe4,0xb8,0x30,0xad,0xbe,0x1c,0xe1,0x22,0xc4,0xeb,0x98,0xc5,0x04,0xec,0x0a,0x78,0x10,0xa6,0x3e,0x90,0x78,0xce,0xd5,0xa2,0xc3,0xe6,0xc2,0xad,0x41,0x2f,0xe9,0x74,0x7e,0xd1,0xd1,0x33,0xd0,0x53,0x07,0xbb,0xbb,0xe7,0xa5,0x58,0xda,0xe9,0x9f,0xff,0x6b,0xd3,0x01,0x21};
    uint256_from_bytes(multiplier, multiplier50);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product50, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier51[32]   = {0x7e,0x83,0x49,0x04,0xfc,0x17,0x34,0x98,0xb8,0x7e,0x4e,0x2b,0x53,0x7d,0x91,0x28,0xc3,0xa9,0xe8,0x89,0x63,0xb7,0x59,0xf5,0x98,0xb8,0x1c,0x66,0xe1,0x0c,0x16,0x7d};
    static std::uint8_t product51[64]      = {0x3e,0x85,0x7f,0x34,0xb8,0x14,0xaf,0x64,0x3e,0xdf,0x95,0xdb,0x9c,0x86,0x6b,0x05,0x2b,0xe5,0xbc,0x0e,0x0f,0xd9,0xe2,0x14,0x51,0x38,0x5f,0x09,0xe0,0x34,0x50,0x54,0xfd,0x73,0x7b,0xe1,0xc0,0x7d,0xc3,0xec,0xa7,0xf9,0xa0,0x62,0x1d,0x64,0x78,0x48,0xc3,0x22,0xc5,0xfe,0xff,0xc4,0x7b,0xe9,0x84,0x13,0x83,0xb5,0xd7,0xb1,0xb9,0x09};
    uint256_from_bytes(multiplier, multiplier51);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product51, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier52[32]   = {0x81,0x6b,0x23,0x32,0xcf,0xed,0x94,0x3b,0xb3,0x78,0x3a,0x7c,0xbb,0xdd,0xbb,0x9b,0x6d,0xe2,0xfb,0x1f,0xa0,0x98,0xd6,0x91,0x83,0x52,0xbc,0x85,0xe4,0x56,0x55,0x9c};
    static std::uint8_t product52[64]      = {0x41,0x6d,0x26,0x4f,0xa6,0xde,0x2e,0xee,0xec,0xff,0x7e,0x0b,0xed,0x2b,0x47,0x26,0xba,0x37,0x5c,0x81,0xcd,0x42,0xb5,0x7e,0x00,0xaf,0xe8,0xa3,0x4a,0x8d,0xea,0x9a,0x7e,0x50,0xc4,0x04,0xa6,0x9e,0xb3,0x78,0x7e,0x50,0xeb,0xd0,0xaa,0x51,0x6e,0x98,0x2e,0xea,0xe6,0x6c,0x02,0x79,0x5b,0x0a,0x5b,0x0b,0xf9,0xb3,0x81,0x70,0xf7,0x10};
    uint256_from_bytes(multiplier, multiplier52);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product52, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier53[32]   = {0xcd,0xff,0x5a,0x1c,0xd0,0x1a,0x91,0x4c,0xd5,0xbe,0x78,0x5a,0x91,0x87,0xdf,0x42,0x81,0x1e,0x76,0x16,0xc0,0xbb,0xe6,0xed,0x86,0x14,0xf5,0x04,0xe8,0xee,0x65,0xa1};
    static std::uint8_t product53[64]      = {0xa5,0xc2,0xf5,0x06,0xca,0x69,0x67,0x33,0x62,0x89,0xdc,0x2c,0x31,0x34,0x99,0xd7,0xa6,0xc2,0x88,0x2a,0xaf,0xcd,0x82,0x30,0xf8,0x3b,0x76,0x39,0x4a,0xbb,0x1f,0xe3,0xed,0x10,0x83,0x0a,0x9c,0x5f,0xa2,0x9c,0x17,0xb0,0x9c,0xb1,0x37,0x9b,0x5e,0x58,0x66,0x44,0x38,0x41,0xf8,0x5b,0xd5,0xae,0xd7,0x12,0x4d,0x3c,0xef,0xb4,0x6f,0x41};
    uint256_from_bytes(multiplier, multiplier53);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product53, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier54[32]   = {0xcc,0x35,0xe8,0x34,0x74,0xfa,0x94,0x12,0x00,0xd9,0x35,0x34,0x43,0x87,0xee,0x7b,0x7d,0x42,0x64,0x6f,0x3e,0x9b,0x76,0x8f,0xae,0x40,0x01,0xe3,0x88,0x0c,0xb4,0x01};
    static std::uint8_t product54[64]      = {0xa2,0xe5,0xf5,0x6d,0x92,0xc6,0xea,0x83,0xe8,0x6f,0x5b,0x0b,0x35,0x84,0x44,0xb1,0xe9,0x94,0x1a,0x19,0xb6,0x14,0x6d,0xf6,0xbd,0xdd,0x78,0x6d,0x39,0x14,0x99,0x50,0xd6,0x79,0x41,0x50,0xd8,0xe1,0xaa,0x33,0x7e,0x99,0xa7,0x0d,0x64,0x6b,0x90,0x99,0x55,0x70,0xb7,0xa0,0x68,0x10,0xe1,0x74,0x04,0xbc,0xbb,0xa8,0x6e,0xa9,0x68,0x01};
    uint256_from_bytes(multiplier, multiplier54);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product54, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier55[32]   = {0x86,0xa7,0x4a,0x63,0xa8,0xc7,0xd9,0xe0,0x17,0x89,0x81,0x9f,0x89,0x02,0xda,0xfc,0xe5,0xd9,0xfe,0x81,0x80,0xc2,0xb5,0xf1,0xee,0xb8,0x9f,0xf1,0xbf,0x8e,0x51,0xaa};
    static std::uint8_t product55[64]      = {0x46,0xd3,0x8f,0x32,0x78,0x55,0x31,0x34,0x5e,0xd1,0xa4,0x02,0x67,0x94,0xf9,0x8d,0x4f,0xcb,0xbb,0xcf,0x15,0x9c,0x4e,0x36,0x74,0x30,0x23,0x26,0xae,0x2c,0x74,0xc7,0x3c,0x82,0x10,0x2f,0xdc,0xed,0x7d,0x6d,0xaf,0x02,0x75,0xb5,0x8c,0xa5,0x05,0xca,0xa0,0x09,0x17,0x47,0x7e,0xb6,0x52,0xbe,0x7f,0x1c,0x9b,0x0e,0x5e,0xa5,0x04,0xe4};
    uint256_from_bytes(multiplier, multiplier55);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product55, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier56[32]   = {0x43,0xfb,0x9f,0xbc,0xd8,0x9c,0x36,0xb2,0x13,0x0f,0x27,0xb2,0xcf,0x28,0xf6,0x5e,0x40,0x8f,0xc1,0x46,0x79,0x4e,0xc9,0x26,0xbc,0x9e,0x28,0xea,0xbe,0xe8,0x06,0x26};
    static std::uint8_t product56[64]      = {0x12,0x0d,0xac,0xef,0x79,0x5e,0xa7,0x55,0x5f,0xd4,0xd3,0x57,0x77,0x84,0x80,0x9c,0x9f,0x90,0x46,0x34,0x2d,0x7e,0x7f,0x05,0xbe,0x9d,0x02,0xa6,0x17,0x52,0x6d,0xb1,0xb9,0x48,0x60,0x11,0xd8,0xb4,0xf5,0x00,0xe1,0x4f,0xff,0xb8,0x03,0xf1,0x77,0x87,0xdc,0x4d,0xc7,0x44,0x02,0x64,0x21,0xa1,0x77,0x5c,0x58,0xe3,0x8d,0x05,0xcd,0xa4};
    uint256_from_bytes(multiplier, multiplier56);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product56, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier57[32]   = {0x75,0xd8,0xd8,0xa4,0xf9,0xc9,0xc6,0x79,0xa6,0x61,0xf6,0x2c,0xbd,0x65,0x68,0x0c,0x3b,0x11,0x85,0xd9,0x34,0x89,0x22,0xd7,0xc1,0xa6,0x24,0xdc,0xba,0xb5,0xb3,0x73};
    static std::uint8_t product57[64]      = {0x36,0x3f,0xed,0xb5,0x1a,0x0e,0xc3,0xbf,0x9c,0x8c,0x08,0x18,0xb8,0x1f,0x73,0x0e,0x64,0x5f,0x6e,0xeb,0x3e,0x0d,0x34,0xa3,0xa7,0x4e,0xd1,0x65,0x18,0x6c,0x61,0x6d,0x1b,0x51,0xd4,0xe0,0xb9,0xb1,0xd6,0x15,0x59,0x42,0xab,0xee,0x11,0x43,0x6f,0xea,0x45,0x37,0xda,0x19,0x4f,0x0a,0xe6,0x36,0xaa,0x15,0x4f,0x62,0x5a,0x68,0x05,0xa9};
    uint256_from_bytes(multiplier, multiplier57);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product57, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier58[32]   = {0xc4,0x58,0x27,0x2f,0x49,0x8d,0xbf,0xa8,0xaf,0x06,0xbc,0xf7,0xe9,0x14,0x57,0xdb,0x7a,0xa0,0x68,0xf1,0x13,0xa5,0x39,0x7f,0x61,0xef,0x7b,0xd1,0xd8,0x74,0xbc,0x79};
    static std::uint8_t product58[64]      = {0x96,0x97,0x1a,0x5b,0x5f,0x23,0x10,0x13,0x57,0x8e,0x91,0x0c,0xbc,0x84,0x1a,0x14,0x0d,0x67,0x95,0x27,0xc3,0xf9,0xab,0x39,0x34,0x12,0x4b,0x8d,0xcf,0xb4,0x71,0xa0,0x9a,0x43,0x4d,0xec,0x3c,0x89,0xce,0x74,0x9a,0x58,0x94,0xeb,0x3a,0x83,0xef,0xa3,0x09,0x07,0x2e,0xbd,0x1d,0x78,0xd4,0xdc,0xee,0xab,0x36,0xd9,0x88,0x69,0xf1,0x31};
    uint256_from_bytes(multiplier, multiplier58);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product58, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier59[32]   = {0x54,0xef,0x12,0x5a,0x25,0xbd,0xa6,0x59,0x99,0x86,0x48,0xe0,0x13,0xd5,0x31,0x6f,0x32,0xc3,0x24,0x44,0xa4,0x8c,0x1d,0x5c,0xa1,0xfe,0xb6,0x24,0x9d,0xf2,0x02,0x5f};
    static std::uint8_t product59[64]      = {0x1c,0x2d,0xc3,0x4e,0x6e,0x67,0xba,0x54,0xa2,0x5a,0xb7,0xba,0xe6,0xd9,0x84,0xa9,0xd6,0x57,0x35,0xa5,0x86,0xb4,0xb1,0xa2,0x15,0x13,0xcd,0x36,0x86,0x67,0x56,0xf0,0xe5,0x13,0x05,0xab,0xe1,0xdf,0xea,0x03,0x3e,0x26,0x11,0xcd,0xf5,0x20,0x4a,0x0d,0x5f,0x3a,0x62,0xd6,0xab,0x4f,0x23,0x51,0x1b,0x66,0x7a,0x69,0x01,0xa1,0x9f,0x41};
    uint256_from_bytes(multiplier, multiplier59);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product59, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier60[32]   = {0x03,0x31,0x2e,0xad,0x22,0x29,0x30,0xae,0x91,0x58,0xd4,0xa8,0x9f,0x03,0xbc,0x5a,0x4d,0xee,0x48,0x12,0xb1,0x61,0x07,0xf1,0xbe,0x43,0x7c,0x7b,0xa6,0xca,0xf4,0xa3};
    static std::uint8_t product60[64]      = {0x00,0x0a,0x30,0x8a,0xf5,0x96,0xb8,0x46,0xb7,0xf5,0x38,0xb8,0xba,0x8b,0x0f,0x60,0x9a,0x68,0x6e,0xc4,0xc7,0x51,0xbc,0x29,0xbb,0x0b,0x88,0x10,0x05,0x73,0x9c,0x99,0x1b,0x18,0x3d,0xb6,0xb2,0x34,0x14,0xc1,0x82,0xf4,0xff,0xa5,0x72,0x23,0x50,0x51,0x56,0xda,0x85,0x83,0xdd,0xde,0x1b,0x92,0x52,0x02,0xd2,0xcc,0x5f,0x03,0x1f,0xc9};
    uint256_from_bytes(multiplier, multiplier60);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product60, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier61[32]   = {0xee,0x37,0x9c,0x65,0xf2,0x12,0x01,0xe4,0xea,0xa3,0x55,0x6c,0x35,0xb7,0xe4,0x48,0x63,0x08,0x7e,0x52,0x44,0xc6,0xb8,0x95,0xfe,0x74,0x9e,0x67,0x73,0x0f,0x37,0xf1};
    static std::uint8_t product61[64]      = {0xdd,0xab,0x72,0xe2,0x21,0x73,0xe6,0xe1,0x4e,0x0f,0x0e,0x75,0x2d,0x2f,0xad,0x55,0xda,0x01,0xed,0x57,0x89,0x25,0xc9,0xfc,0xf6,0x4f,0xa4,0x53,0x86,0xa9,0x3e,0x5e,0x69,0x6a,0x22,0x29,0xfc,0x26,0x63,0xe2,0x75,0xd9,0x96,0x19,0x0d,0x26,0x8b,0x86,0x67,0x67,0xdc,0xed,0x99,0x03,0xe3,0x2b,0x81,0x6b,0x2d,0x18,0x20,0x77,0x70,0xe1};
    uint256_from_bytes(multiplier, multiplier61);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product61, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier62[32]   = {0xf3,0xe6,0xca,0x73,0x43,0x05,0xe9,0x86,0x86,0x29,0x2b,0xb5,0xbf,0x5b,0x41,0x1b,0x24,0x49,0x1d,0xf6,0x17,0x1e,0x1a,0x8c,0x94,0xdb,0x5f,0x8f,0x13,0x19,0xd4,0x24};
    static std::uint8_t product62[64]      = {0xe8,0x5f,0xf4,0x67,0x38,0x73,0xc1,0x9f,0x9d,0xcf,0x6d,0xea,0x74,0x54,0x1e,0x3c,0xf4,0xa0,0x4c,0x87,0x7f,0x28,0x9b,0xc8,0x01,0x92,0x48,0xa1,0xd4,0xfa,0xfd,0xbe,0x09,0x73,0x8c,0x06,0xd8,0xff,0x75,0x03,0x7e,0x56,0xe5,0xe7,0xb3,0x72,0x6b,0x4f,0x7d,0x1a,0xf2,0x34,0x64,0x53,0x62,0xfe,0x19,0x52,0x90,0x50,0x76,0xd3,0xa5,0x10};
    uint256_from_bytes(multiplier, multiplier62);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product62, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier63[32]   = {0x06,0x5b,0x8c,0x35,0x64,0xe2,0x76,0x02,0x7c,0x73,0xb6,0xc9,0xe0,0x4b,0x0d,0xce,0xe5,0xd0,0x0a,0x4d,0x7f,0x75,0x95,0xb5,0x3b,0x3b,0xf4,0xbf,0x5d,0x7c,0xfe,0xd1};
    static std::uint8_t product63[64]      = {0x00,0x28,0x6b,0x4f,0x7b,0x7a,0xc8,0x02,0xa2,0x33,0x30,0x82,0x05,0xe3,0xe4,0xc7,0xc8,0x87,0x10,0x05,0xac,0x66,0x49,0x7d,0xf5,0xba,0xf3,0xed,0x8f,0xa5,0xfe,0xe3,0x12,0xdf,0xe7,0x50,0xc3,0x32,0xc5,0x4e,0x45,0xd1,0xc6,0x54,0x9a,0xe5,0x24,0xac,0x2f,0xca,0xa1,0x16,0xeb,0xb3,0xab,0xde,0xb2,0xbc,0xb2,0x09,0xb2,0x1b,0x66,0xa1};
    uint256_from_bytes(multiplier, multiplier63);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product63, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier64[32]   = {0xba,0x28,0xa6,0x79,0x4d,0x4c,0xa9,0xc7,0x67,0xc9,0x8f,0xb9,0x73,0x65,0x06,0xec,0xae,0x7c,0x8f,0x09,0x7d,0xdf,0xcb,0xc9,0xf3,0x30,0x8c,0xe5,0x00,0xeb,0x4e,0x11};
    static std::uint8_t product64[64]      = {0x87,0x5f,0x18,0x5c,0xb6,0x7d,0x18,0x64,0x67,0x1f,0xa2,0x07,0x1b,0xfe,0xff,0x15,0xbc,0xba,0x6b,0xfa,0x7d,0x97,0x10,0x1a,0xea,0x09,0xf2,0x6c,0x04,0x72,0x14,0xd6,0x9a,0xd4,0x91,0x4c,0x87,0x28,0x90,0x34,0x1d,0x2a,0x4f,0xc0,0x9e,0x62,0x3b,0xb7,0x90,0xcd,0x83,0x21,0x1e,0x17,0xe0,0xff,0x8e,0xbd,0x1a,0xb2,0x6b,0x04,0x5d,0x21};
    uint256_from_bytes(multiplier, multiplier64);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product64, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier65[32]   = {0x00,0x72,0x1f,0x84,0x54,0xd1,0xac,0x6b,0xd7,0x19,0x61,0x89,0x1e,0xf3,0xea,0x44,0x50,0xea,0x7d,0xa7,0x60,0x48,0x7e,0x15,0x58,0x0d,0xc5,0xab,0x6a,0x8a,0xd9,0xcb};
    static std::uint8_t product65[64]      = {0x00,0x00,0x32,0xe0,0x15,0xbc,0xdb,0xaf,0xec,0x21,0xc4,0xca,0x97,0x4a,0x52,0x0e,0x80,0x56,0x3d,0x75,0xa4,0x98,0x73,0xb4,0x61,0x3e,0x9c,0x9c,0x8b,0x0e,0x93,0x6e,0xd7,0x0f,0xcb,0x2a,0x4b,0x2a,0xf2,0x6b,0x8e,0x5b,0x81,0x67,0x7c,0x68,0x89,0xf2,0x80,0x69,0x19,0xf0,0x70,0xa5,0x1b,0xe4,0xe3,0xa6,0xaa,0xdd,0xa4,0x25,0xc6,0xf9};
    uint256_from_bytes(multiplier, multiplier65);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product65, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier66[32]   = {0x64,0x95,0x0d,0xc2,0x10,0xa2,0x5b,0x19,0x5f,0x49,0xf0,0xfc,0x40,0xd2,0x84,0x06,0x4a,0x32,0x7e,0x2d,0xbd,0x6a,0x99,0x6d,0xe6,0xcd,0x10,0xf1,0x03,0x00,0x30,0x05};
    static std::uint8_t product66[64]      = {0x27,0x84,0xc9,0x88,0xa1,0xa3,0x7c,0xf7,0x92,0x62,0x08,0xd4,0x1f,0x43,0xad,0x11,0x12,0x5b,0x46,0xec,0xf1,0x9b,0x4a,0x52,0x89,0x98,0x3c,0xb8,0x05,0x6e,0x6b,0x00,0x2d,0xc0,0x17,0xa9,0x00,0x2a,0x6d,0xe2,0x7e,0x45,0xad,0x38,0x44,0x24,0x5d,0xa6,0x42,0x44,0x32,0x59,0x22,0x35,0x06,0x1e,0x90,0x66,0x0a,0x8a,0x27,0x01,0xe0,0x19};
    uint256_from_bytes(multiplier, multiplier66);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product66, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier67[32]   = {0xc1,0x72,0xb2,0x98,0x6d,0x94,0xdd,0x6d,0xec,0xe8,0x07,0x99,0x5c,0x57,0x72,0x2e,0x13,0x8e,0xfe,0xf9,0x96,0xd4,0x48,0x0f,0xde,0xb6,0x7a,0xe7,0xff,0xb0,0xdd,0x9e};
    static std::uint8_t product67[64]      = {0x92,0x2e,0x24,0xad,0x61,0x94,0x61,0x9a,0x48,0xb8,0xc5,0x38,0x62,0x4a,0xdf,0x90,0x05,0x0d,0xd0,0x68,0xe8,0x13,0xcb,0x43,0x84,0xeb,0x6f,0x8a,0xbe,0x9a,0xfc,0xd2,0x71,0x9d,0x0a,0x35,0x29,0x44,0x48,0x47,0x71,0xe4,0x89,0x6f,0xc6,0x17,0x61,0x1b,0x9d,0x45,0x4c,0x41,0x05,0x6b,0x1a,0x51,0x28,0x74,0x5e,0xd6,0x3d,0x1a,0x2d,0x84};
    uint256_from_bytes(multiplier, multiplier67);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product67, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier68[32]   = {0x50,0xcb,0x40,0x7a,0x82,0xce,0x78,0x6f,0x6f,0xad,0x79,0x36,0x44,0x06,0xc0,0x53,0xf8,0x95,0xfc,0x55,0x3f,0xd3,0xbe,0x98,0x26,0x1f,0x40,0xdf,0xef,0x82,0xd1,0xa3};
    static std::uint8_t product68[64]      = {0x19,0x7f,0xa9,0xab,0xe4,0x49,0xfa,0xc0,0xd2,0x60,0x63,0xc4,0x8d,0xf3,0x58,0x24,0x92,0x59,0x7f,0x99,0xa1,0xb6,0xbd,0x58,0xd8,0xb0,0x64,0x9b,0xbf,0xd2,0xc0,0xd4,0x1a,0xd4,0x9d,0x3c,0x6b,0x61,0x86,0x6b,0xf9,0xb6,0x29,0xda,0xd1,0x99,0x14,0xdb,0x49,0x74,0x0f,0x97,0xa9,0x00,0x79,0x1f,0xb8,0x4a,0x40,0x41,0xef,0x37,0x8d,0xc9};
    uint256_from_bytes(multiplier, multiplier68);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product68, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier69[32]   = {0xc0,0xae,0xd9,0xc5,0x9d,0x6b,0x02,0x3f,0x73,0x6b,0x96,0xa0,0x69,0x2f,0xd3,0x60,0xbb,0x7b,0x73,0x8e,0xee,0xf7,0x95,0xcd,0x0c,0xaa,0x76,0x12,0x14,0xa0,0xb0,0x0b};
    static std::uint8_t product69[64]      = {0x91,0x06,0xbe,0x15,0x2e,0x03,0x1e,0x41,0x4c,0xaf,0xbd,0x02,0x1d,0x69,0xff,0x81,0xc5,0x22,0x6c,0x42,0x91,0x8b,0x5b,0x84,0x27,0xeb,0x1e,0xa5,0x00,0xf0,0xe7,0xb8,0x5f,0x94,0x51,0x67,0x7b,0x0f,0x1e,0x0d,0xbe,0x41,0x97,0xdc,0xc4,0x55,0xb1,0xe5,0xa9,0x50,0x55,0x26,0xf7,0xe7,0xe1,0xd3,0xe1,0x28,0x65,0xea,0x3e,0xcf,0x20,0x79};
    uint256_from_bytes(multiplier, multiplier69);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product69, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier70[32]   = {0x8c,0xd3,0xe4,0x18,0xed,0x41,0x42,0xba,0xe9,0x72,0x9f,0x3f,0x0c,0x89,0xc0,0x01,0x7c,0x4e,0xa6,0x03,0x49,0x44,0xf2,0xce,0xde,0x96,0x2a,0x6d,0xa4,0xfd,0x57,0xc5};
    static std::uint8_t product70[64]      = {0x4d,0x78,0x70,0xdd,0x0f,0xd2,0xe3,0x9a,0x06,0x6d,0x8a,0x30,0x71,0x59,0x2f,0x22,0x9f,0x08,0xc3,0xab,0x24,0x22,0xfd,0x3a,0xa3,0xa2,0x67,0xdd,0x5b,0xfc,0x1a,0x7e,0x7d,0x2f,0xe1,0x43,0x35,0xb4,0x87,0x13,0xef,0xfa,0x87,0xdb,0x9e,0xd0,0xff,0x74,0xb5,0x94,0x0b,0x53,0x65,0xfe,0x9b,0x41,0x91,0xba,0xf4,0xed,0x01,0x79,0x7d,0x99};
    uint256_from_bytes(multiplier, multiplier70);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product70, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier71[32]   = {0x17,0x39,0x10,0xe3,0x3e,0x7c,0x65,0x67,0x31,0x41,0x97,0x75,0x8c,0x3b,0xa8,0x59,0x23,0xbc,0x91,0x52,0x6d,0x6b,0x98,0x7a,0x73,0x30,0x9b,0x95,0xc2,0x5e,0x11,0x4f};
    static std::uint8_t product71[64]      = {0x02,0x1b,0x4d,0xc1,0x5b,0x89,0x5f,0x25,0x1f,0x56,0xf1,0x26,0x7e,0xca,0x8a,0x2d,0x3a,0x87,0x0b,0xff,0xea,0x6f,0xc6,0x4f,0x21,0x40,0x84,0xf9,0x85,0x01,0x36,0x00,0x6c,0x49,0x2d,0x7a,0x73,0x29,0x77,0x44,0xab,0xe9,0xe7,0xac,0x68,0x4d,0x90,0x6d,0x67,0x86,0x00,0x8b,0xf7,0x98,0x67,0x19,0x35,0xa8,0x84,0xc2,0x73,0x2f,0x96,0x61};
    uint256_from_bytes(multiplier, multiplier71);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product71, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier72[32]   = {0x7f,0x86,0x7d,0x5f,0x0f,0xe3,0x21,0xec,0xc0,0x8a,0x58,0xd7,0x56,0x94,0x7a,0x7a,0x45,0x2e,0x70,0x4d,0x60,0x7a,0x47,0x32,0x35,0xc2,0xe2,0x29,0x86,0x2f,0xe2,0x31};
    static std::uint8_t product72[64]      = {0x3f,0x86,0xb7,0x0b,0xce,0xad,0xf6,0x41,0x05,0x93,0x9e,0x37,0x97,0xb2,0xbf,0xae,0xcf,0x46,0xe1,0x65,0x64,0x01,0x85,0x89,0x31,0xc4,0x12,0xc6,0xff,0x10,0x01,0x5f,0x62,0x1b,0xf5,0x7b,0xda,0x09,0xcb,0xc4,0xe3,0x7b,0x28,0x1e,0x1c,0x3f,0x01,0x46,0x2b,0x6a,0x67,0x6a,0x11,0x2c,0x15,0x07,0xe9,0x4f,0x21,0x72,0x21,0xd8,0x8d,0x61};
    uint256_from_bytes(multiplier, multiplier72);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product72, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier73[32]   = {0x62,0x72,0x92,0xf8,0x3f,0x9a,0xa8,0x84,0xe5,0x94,0x09,0xc1,0x45,0x61,0x9f,0xc0,0x17,0xb4,0x83,0x4c,0x37,0x49,0x5c,0x5e,0xd9,0x3f,0xf7,0x16,0xdc,0xe4,0x7b,0x21};
    static std::uint8_t product73[64]      = {0x25,0xdb,0xeb,0xcd,0x4a,0x2b,0x28,0x0b,0x89,0xcd,0x63,0x0a,0xeb,0x05,0xa8,0x13,0xd8,0x9f,0x60,0x06,0x98,0xce,0xff,0x45,0x75,0x72,0x2e,0xdf,0x2b,0xab,0x09,0x95,0x70,0x15,0xd0,0x80,0x82,0x9a,0x25,0x58,0x55,0x0d,0x17,0xae,0xda,0x27,0x2c,0x83,0x0c,0xf8,0x6d,0x3d,0x25,0x55,0x55,0xba,0x27,0xb6,0x57,0x38,0x46,0x00,0xba,0x41};
    uint256_from_bytes(multiplier, multiplier73);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product73, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier74[32]   = {0xcd,0xe3,0x47,0xab,0xe5,0x4c,0x5d,0xe6,0xc3,0x81,0x3c,0xe6,0xb5,0xa2,0x90,0x61,0x6c,0xd9,0xe6,0x2a,0x08,0x41,0x1c,0x07,0x20,0x93,0x42,0xca,0x05,0x95,0x5f,0xb9};
    static std::uint8_t product74[64]      = {0xa5,0x95,0xca,0x91,0x7c,0x25,0xc0,0x6e,0x99,0xd8,0xdc,0x3d,0x1b,0xb6,0x94,0x3f,0x9a,0x16,0xd2,0xf6,0x33,0xd6,0x11,0x3d,0x0a,0x80,0x8d,0xc3,0x45,0xe1,0x2f,0x16,0xf9,0xf7,0x85,0x3d,0x8a,0xef,0x85,0x0c,0x25,0x98,0x83,0x65,0xb3,0x48,0x64,0xcc,0x2a,0x64,0xfe,0x37,0x6d,0xe2,0x3f,0xe6,0x03,0xab,0xa0,0xd9,0xcb,0x24,0xd3,0xb1};
    uint256_from_bytes(multiplier, multiplier74);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product74, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier75[32]   = {0xc8,0x79,0xb6,0x63,0x3f,0x9b,0x6b,0xb2,0x72,0xee,0x6a,0x2e,0xf8,0xe4,0xcb,0x5c,0x77,0xd8,0xc5,0x69,0xda,0xff,0x9a,0x0b,0x87,0x21,0xec,0xf8,0xd3,0x59,0xd0,0x7a};
    static std::uint8_t product75[64]      = {0x9c,0xfe,0x66,0xd8,0xff,0x26,0x3e,0x1d,0xe1,0x6a,0x10,0x17,0x14,0xa4,0xdd,0xb1,0x92,0x12,0xe6,0x6f,0x84,0xc9,0x01,0x47,0xd0,0x7f,0xf2,0xdb,0xef,0x0a,0x1a,0x42,0x86,0xe7,0x1c,0xda,0x05,0x12,0xce,0x4d,0x31,0xdf,0x62,0x56,0x3d,0x3b,0xb0,0xbe,0x69,0x6d,0x54,0x28,0xb6,0x01,0xa1,0x0c,0x30,0x56,0x09,0x8b,0xba,0x9a,0x7a,0x24};
    uint256_from_bytes(multiplier, multiplier75);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product75, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier76[32]   = {0xeb,0x7f,0xe2,0x6b,0x91,0xc3,0x09,0x8c,0x3b,0x8a,0x27,0xba,0x20,0x2a,0xb6,0xfa,0xc8,0x44,0xb8,0xfd,0x00,0x59,0x86,0x5a,0x0a,0x1f,0xb4,0x3b,0xc6,0xe0,0x67,0x3a};
    static std::uint8_t product76[64]      = {0xd8,0xa4,0x09,0x93,0xec,0x98,0xcd,0x9a,0x77,0x56,0xd1,0xc5,0x3c,0xcc,0x8b,0x2e,0x89,0x05,0x86,0x1c,0x77,0xe5,0x5f,0xbd,0xe8,0x86,0x34,0x7d,0x9f,0x76,0x1c,0x5c,0x84,0xe4,0x64,0xed,0x2e,0xbf,0x5c,0x26,0xc5,0x54,0x11,0x89,0x4d,0x75,0xf6,0x22,0xc3,0xaf,0x7c,0xe8,0x59,0x15,0x1c,0xd2,0x5f,0x25,0x09,0x1e,0x87,0x1f,0xb9,0x24};
    uint256_from_bytes(multiplier, multiplier76);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product76, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier77[32]   = {0x00,0x4b,0x7f,0xd0,0x99,0xdf,0x20,0x9b,0xca,0x5d,0x5e,0x7d,0x39,0x3c,0xbc,0xdd,0x42,0xc9,0x27,0xb9,0x63,0x59,0x56,0xbe,0x31,0x13,0x5d,0xe9,0x95,0x38,0x57,0xd7};
    static std::uint8_t product77[64]      = {0x00,0x00,0x16,0x44,0x24,0x0a,0xcb,0x62,0xe4,0xb4,0x9a,0x1a,0xe4,0x4e,0xce,0xe0,0x40,0xf7,0x18,0x5c,0xcd,0x2d,0x28,0x34,0xd2,0xe5,0xbe,0x3d,0x11,0x47,0xc0,0x53,0xbd,0xb9,0xa9,0xca,0xe9,0x01,0x86,0x7f,0xad,0x20,0x84,0xe4,0x95,0x03,0x28,0x6b,0x7c,0xe4,0x8e,0x41,0x36,0x64,0x1a,0xad,0x3f,0x46,0xbe,0x04,0xd2,0x33,0xd6,0x91};
    uint256_from_bytes(multiplier, multiplier77);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product77, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier78[32]   = {0x6b,0xa9,0x9d,0x01,0xb7,0xe4,0x9f,0x36,0x56,0x8a,0x8c,0x29,0xb2,0x21,0x71,0x39,0x08,0xba,0x9b,0xd9,0x7e,0x31,0x8a,0xd6,0x3a,0x0e,0xa6,0xe1,0x5e,0xc6,0x9b,0xe3};
    static std::uint8_t product78[64]      = {0x2d,0x47,0x39,0xa0,0x1c,0x49,0x04,0x83,0x01,0x40,0xa0,0x76,0x32,0x7e,0x27,0xd3,0x94,0x7d,0xc5,0x45,0xdf,0x77,0x1d,0xd1,0xb0,0x0e,0x3c,0x84,0x43,0xf8,0x3b,0x5c,0x91,0x1f,0x05,0x20,0xef,0x0d,0x2b,0x3b,0xb1,0xd8,0xfc,0x2f,0x79,0x60,0x16,0x04,0x88,0x7b,0x91,0xbe,0x81,0x64,0xc5,0x31,0x37,0x32,0xdd,0x96,0x36,0x10,0xab,0x49};
    uint256_from_bytes(multiplier, multiplier78);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product78, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier79[32]   = {0xd1,0xeb,0xd0,0x86,0xc4,0x0f,0x36,0x09,0x4f,0xcc,0x9a,0x5c,0x33,0x4e,0x51,0xaf,0xf8,0x48,0xa9,0x56,0x7e,0xe5,0xe8,0x57,0x34,0x89,0x34,0x98,0x11,0x43,0x40,0xff};
    static std::uint8_t product79[64]      = {0xac,0x22,0xe3,0xb4,0x8d,0x68,0x0f,0xb2,0xf7,0x47,0x94,0xbf,0x98,0xc4,0x13,0x68,0x92,0xf3,0x8c,0xc3,0x13,0xb3,0xb5,0x53,0xbd,0xaa,0x02,0xca,0x9f,0xae,0x0c,0x3c,0x9b,0x09,0xa5,0x4c,0xc4,0xe5,0x96,0x96,0x4a,0x54,0xb7,0x35,0x5f,0xad,0x95,0x86,0x3c,0xda,0xd5,0x2e,0x0a,0x4e,0x4b,0x0c,0xfc,0x5c,0xc7,0x1c,0xf3,0xfa,0x7e,0x01};
    uint256_from_bytes(multiplier, multiplier79);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product79, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier80[32]   = {0x0d,0xea,0x6e,0x4e,0x64,0xb9,0xcb,0x1c,0xec,0x03,0x2e,0x6b,0x25,0x79,0x5c,0x18,0x98,0x44,0xf4,0x76,0xf2,0xe2,0x05,0x4d,0x0e,0x71,0x59,0x7a,0xaa,0x50,0xb9,0x6f};
    static std::uint8_t product80[64]      = {0x00,0xc1,0xa5,0xe1,0xcd,0x12,0x78,0xd9,0x74,0x3e,0x16,0x80,0x14,0xd9,0xad,0x24,0x4f,0x8f,0x8c,0x93,0xb3,0x5c,0x95,0x6c,0x26,0x6f,0xf1,0x7c,0x1a,0x83,0x60,0x75,0xe9,0xa9,0x66,0x4e,0x64,0x3f,0x80,0x4a,0x96,0x78,0x54,0xba,0xf7,0x4b,0x1c,0xb5,0x3b,0xf3,0x15,0xdc,0x67,0xfb,0x97,0x84,0xbf,0x2d,0x3b,0x87,0xd7,0xb1,0x9e,0x21};
    uint256_from_bytes(multiplier, multiplier80);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product80, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier81[32]   = {0x0f,0x65,0x06,0x38,0xb5,0xb9,0x4a,0xf3,0x0d,0x45,0x6b,0xe0,0x6a,0x56,0xaa,0xc3,0x24,0x54,0x48,0xc8,0x98,0x9b,0xc9,0xdc,0xf9,0x5f,0xe8,0xa0,0x06,0x0c,0x88,0x04};
    static std::uint8_t product81[64]      = {0x00,0xec,0xfe,0x98,0x8e,0x31,0xd0,0x12,0x50,0xea,0x54,0x79,0x94,0xf6,0x8a,0xdf,0xc7,0xb9,0x4e,0x23,0xa2,0x5a,0x19,0x62,0x60,0x7b,0xae,0x68,0x55,0x61,0xa4,0x5c,0x46,0x9d,0x1a,0x51,0x7b,0x0d,0x52,0x37,0xf2,0x78,0x70,0x4e,0x4a,0xbe,0x1e,0xba,0xc6,0xbb,0xcd,0xf1,0x4d,0xe3,0x5b,0xc3,0x01,0x4d,0xdb,0xfd,0x38,0xa4,0x40,0x10};
    uint256_from_bytes(multiplier, multiplier81);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product81, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier82[32]   = {0xd6,0xd1,0x06,0xfb,0x60,0xed,0x33,0xa0,0xb9,0xb2,0x53,0xe3,0xaa,0x18,0x13,0x45,0x4f,0xd3,0xe7,0x58,0x08,0x2a,0x2f,0x4d,0x77,0xb5,0xab,0xcb,0xbf,0x0e,0x11,0xe0};
    static std::uint8_t product82[64]      = {0xb4,0x42,0x22,0x58,0xac,0xb1,0x95,0x01,0x57,0x26,0xe1,0xcf,0x47,0x02,0x29,0xef,0xca,0xe3,0x73,0x49,0x13,0xaa,0xd3,0x5f,0x01,0xb6,0xf9,0xd6,0xb3,0xb1,0x41,0x25,0x5f,0x4c,0xbf,0x0a,0xed,0x00,0x9c,0x1e,0x65,0xa2,0xc2,0x87,0x6e,0x98,0x7d,0x97,0x80,0x52,0xab,0x17,0xc3,0x8c,0x12,0xa8,0xe1,0x87,0x98,0xb2,0x35,0xbf,0x84,0x00};
    uint256_from_bytes(multiplier, multiplier82);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product82, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier83[32]   = {0x47,0xa1,0x64,0xe4,0x14,0x07,0xab,0x33,0x00,0xbc,0x22,0xcb,0x1b,0xe4,0xa5,0xdb,0x2b,0x54,0xaf,0x77,0x71,0x43,0x6e,0x1d,0x54,0xea,0x20,0x61,0xfc,0x27,0xd6,0x83};
    static std::uint8_t product83[64]      = {0x14,0x0a,0xeb,0xb6,0x91,0xc0,0x6d,0x75,0x4d,0x89,0x46,0x57,0x7e,0xa3,0x2e,0x0a,0xc5,0x79,0x20,0xf7,0x4f,0x77,0xc2,0xc7,0x72,0x22,0xdd,0x84,0x13,0xa1,0x71,0x85,0xca,0xf5,0x1e,0x8d,0x17,0x9c,0x90,0x6b,0xc9,0xbb,0xb7,0x84,0x6e,0xa7,0x2b,0xa6,0xad,0x37,0xb6,0x48,0xd0,0xa4,0xef,0xd3,0x23,0xab,0xc3,0xca,0xf7,0xa9,0x47,0x09};
    uint256_from_bytes(multiplier, multiplier83);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product83, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier84[32]   = {0xc2,0x41,0x0a,0xd1,0xf6,0xda,0x7a,0x63,0x8f,0xa6,0x24,0xf7,0x1f,0xab,0x58,0x84,0xe2,0x9a,0xac,0xea,0xf4,0x9c,0x9e,0xba,0x6b,0x91,0x1f,0x97,0x59,0xf9,0xbb,0x79};
    static std::uint8_t product84[64]      = {0x93,0x66,0xa4,0xec,0xb9,0x37,0x8f,0xef,0x1c,0x9a,0xfd,0xda,0xdd,0xd0,0x72,0xcc,0x1f,0xb4,0xd3,0xb2,0x00,0x0b,0x8b,0xf1,0x1b,0x7f,0x6b,0x18,0x91,0x69,0xef,0x9e,0x1f,0xcf,0xd6,0x68,0x5e,0xc1,0xa3,0x04,0x66,0x78,0x5e,0x94,0x53,0x73,0x37,0x75,0xe5,0x16,0x64,0x9b,0x78,0x56,0x78,0xb7,0x44,0xb4,0x0e,0xb6,0x5c,0xab,0xff,0x31};
    uint256_from_bytes(multiplier, multiplier84);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product84, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier85[32]   = {0x6e,0xb4,0xff,0xf8,0xcd,0xce,0xc4,0x08,0xd2,0x6f,0x1d,0x76,0x4f,0x06,0xe9,0x5a,0xd2,0x52,0xa6,0x17,0xc4,0xcb,0xa0,0x38,0x5b,0x4c,0x0d,0x73,0x61,0x50,0x2d,0xee};
    static std::uint8_t product85[64]      = {0x2f,0xe0,0x0b,0xf2,0xc6,0xb0,0xb7,0x0c,0x91,0xd9,0x9a,0xda,0x63,0x99,0xfb,0x75,0xf4,0xbf,0x97,0xc1,0x57,0xf9,0x4a,0x51,0xa5,0xcf,0x02,0x7a,0x27,0x17,0x44,0x4c,0x68,0xec,0xbd,0x27,0x72,0xe9,0x38,0x96,0xc7,0xaf,0x5e,0x66,0x27,0x45,0x34,0xbc,0x81,0x15,0x48,0x88,0x18,0x57,0x4c,0x45,0x31,0x01,0x4b,0xbf,0x18,0xfd,0x89,0x44};
    uint256_from_bytes(multiplier, multiplier85);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product85, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier86[32]   = {0x72,0x43,0xd4,0x7c,0xeb,0x64,0xc5,0xc4,0x8a,0xa1,0xa5,0x9c,0x5f,0x6a,0x35,0xd9,0x32,0x1a,0x6e,0xc1,0x79,0x34,0xf0,0xb8,0xb4,0x8b,0xb0,0x75,0x0c,0x9c,0x20,0xef};
    static std::uint8_t product86[64]      = {0x33,0x00,0x7b,0x38,0x2b,0x68,0x19,0xb6,0x59,0xf7,0xce,0xdf,0xec,0x91,0x1f,0xa9,0xcd,0x36,0x22,0x9f,0x50,0x24,0x34,0x1f,0xf9,0xb4,0x68,0x53,0xfe,0xcb,0x86,0x65,0x39,0x6d,0xa3,0x14,0x77,0xf4,0x4c,0x77,0x2b,0xa6,0x2e,0x23,0xcd,0x47,0x3c,0x6d,0x84,0xb9,0x9f,0x31,0xdf,0xbf,0xde,0x47,0x10,0x27,0xbc,0xc4,0x8f,0x84,0x9f,0x21};
    uint256_from_bytes(multiplier, multiplier86);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product86, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier87[32]   = {0x69,0x2a,0x4f,0x0e,0xa1,0xb4,0x9b,0xf7,0x07,0xc0,0x90,0x9c,0x79,0x7b,0x15,0x38,0xe5,0xa1,0x5b,0x79,0xbc,0xc0,0xfd,0x98,0x5d,0x3f,0x69,0xce,0x52,0xc4,0x64,0x1b};
    static std::uint8_t product87[64]      = {0x2b,0x33,0xbb,0xd8,0x09,0xdd,0x3f,0xd7,0x5f,0x92,0xb3,0x35,0xeb,0x77,0x66,0x56,0x35,0x61,0x6d,0x85,0x3f,0xfc,0x79,0x15,0xea,0x4b,0x3b,0x9f,0xf2,0xe1,0xa1,0x50,0xe6,0x00,0xbf,0xad,0x30,0x97,0xc8,0x2c,0x1a,0x72,0x83,0x70,0xbf,0xc3,0xe9,0x54,0x08,0x3b,0x04,0x53,0x6e,0xfe,0x91,0xa3,0x4c,0x3b,0xa8,0x3e,0xbc,0x7d,0x1a,0xd9};
    uint256_from_bytes(multiplier, multiplier87);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product87, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier88[32]   = {0x76,0xcc,0x05,0x73,0x08,0xec,0x37,0x9a,0x60,0x25,0x33,0xdc,0x0a,0x68,0x01,0x3d,0x67,0x9f,0x2d,0x9e,0xc4,0x44,0x5a,0xae,0xa0,0x1a,0xc2,0x3a,0xcf,0xd3,0xbb,0x74};
    static std::uint8_t product88[64]      = {0x37,0x20,0xb7,0x9e,0xbb,0xad,0xad,0xc5,0x2d,0x61,0x20,0xfd,0x8c,0x72,0xf1,0x3d,0x2a,0x61,0xf4,0x4e,0xc8,0x08,0x4d,0xdb,0x5a,0x1b,0x99,0x4b,0xdc,0xfa,0x0c,0xdd,0x9a,0x29,0x5d,0x36,0xd4,0x5e,0x45,0xf9,0xb6,0xe7,0x4e,0x2f,0x64,0x46,0x7c,0x1d,0x41,0xe7,0xa2,0x5e,0x24,0x58,0x73,0x82,0xd0,0x54,0xd8,0xd4,0x22,0x7a,0xac,0x90};
    uint256_from_bytes(multiplier, multiplier88);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product88, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier89[32]   = {0x0b,0x28,0x6c,0x70,0x9d,0xf2,0x4d,0x5e,0xf4,0x29,0xc6,0x22,0xf5,0x2b,0x25,0x49,0x55,0xc0,0xa7,0x4d,0x45,0xb6,0x69,0xf7,0x5c,0xeb,0xe2,0x13,0x56,0xcd,0x42,0xd2};
    static std::uint8_t product89[64]      = {0x00,0x7c,0x7f,0xb3,0xbe,0xb3,0x65,0x2d,0x5d,0x66,0xcd,0x6a,0xa6,0x1c,0x4e,0x3d,0xb5,0x0c,0x7e,0x14,0xa7,0xb7,0xd8,0x57,0xc0,0xeb,0x4c,0xea,0xe9,0xd0,0x64,0x65,0x54,0xf3,0x36,0x90,0x39,0x26,0xb4,0xea,0xa5,0x63,0x7f,0xd9,0x08,0x1a,0xad,0x6b,0x84,0x4e,0xc2,0x90,0xd5,0x0a,0x40,0xd4,0x07,0x6d,0x40,0xa5,0x2d,0xc4,0xf4,0x44};
    uint256_from_bytes(multiplier, multiplier89);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product89, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier90[32]   = {0x10,0xb9,0x9a,0xc9,0xf1,0x78,0xd7,0x7f,0xf2,0x4d,0x04,0xfd,0xa2,0x4c,0x84,0x07,0xce,0x3f,0xa0,0x28,0xea,0x9d,0x18,0xb2,0x98,0x77,0x27,0x90,0xc1,0x72,0x6f,0x06};
    static std::uint8_t product90[64]      = {0x01,0x17,0xb9,0xea,0x53,0xa5,0xb1,0x69,0xec,0x02,0xe9,0x29,0xb5,0x61,0x75,0x2e,0x9d,0x8f,0xab,0x92,0x93,0xeb,0xec,0x0c,0xe8,0xb8,0xc8,0x6c,0x04,0xaa,0xfb,0xa2,0x4b,0x91,0xb4,0xd5,0xb2,0x34,0x03,0x8e,0x17,0x9e,0x19,0xfe,0xed,0xbf,0xc2,0x09,0xac,0x9c,0x8b,0x37,0x51,0xb8,0xad,0x5d,0x68,0x52,0x79,0x4e,0x1d,0x7e,0x34,0x24};
    uint256_from_bytes(multiplier, multiplier90);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product90, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier91[32]   = {0x75,0xf5,0xc1,0xa0,0x51,0xcd,0xf2,0xf9,0xdc,0x7a,0x61,0x5d,0x53,0xea,0xb0,0x31,0x3c,0x73,0xd5,0xf4,0x9b,0x75,0x03,0x62,0x26,0xbc,0x98,0x58,0xc5,0xd6,0xd5,0xe9};
    static std::uint8_t product91[64]      = {0x36,0x5a,0x8e,0xe8,0xba,0x15,0xf4,0x0a,0x59,0xb8,0x4f,0x72,0xf3,0x6d,0x77,0xc6,0x05,0x21,0x67,0x66,0xfa,0xab,0xf2,0x57,0x7c,0xfe,0x81,0xc1,0x41,0x0c,0x56,0x98,0x7f,0xd4,0x6d,0xe4,0xbc,0x15,0x3f,0xa1,0x97,0xf3,0x3e,0xc0,0x62,0x82,0x14,0x54,0xe3,0x5d,0xbc,0x54,0xa6,0x41,0x21,0x27,0x14,0xd4,0x19,0xb2,0xee,0x49,0x8e,0x11};
    uint256_from_bytes(multiplier, multiplier91);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product91, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier92[32]   = {0xc0,0xbd,0x1d,0x84,0x64,0x45,0x7e,0xa4,0x32,0x83,0x06,0x89,0x83,0x0a,0xe1,0x9e,0x14,0x3a,0x51,0x80,0x98,0x80,0xe8,0x8b,0xc8,0x41,0x72,0x1e,0xc8,0xa9,0x48,0x14};
    static std::uint8_t product92[64]      = {0x91,0x1c,0x37,0xfb,0x2f,0x4b,0x8f,0xc2,0x97,0xd9,0x49,0xd9,0x7c,0xd5,0x58,0xc4,0x8c,0xe0,0x26,0xe4,0x72,0x61,0xf9,0x29,0xec,0xcd,0xc8,0x6b,0x16,0xfb,0xb6,0xa1,0x9d,0x1d,0x6c,0x9b,0xa1,0xb8,0x5f,0xb2,0x95,0xbb,0x4a,0x2c,0xe9,0x02,0xba,0xab,0xf1,0x96,0x77,0x0b,0xce,0x82,0x5a,0xb8,0x43,0x4f,0xa5,0x3f,0x7e,0xb3,0x41,0x90};
    uint256_from_bytes(multiplier, multiplier92);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product92, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier93[32]   = {0x8b,0x6b,0xfe,0xae,0x8d,0x76,0xd7,0xa1,0x7b,0x50,0x07,0x9e,0x08,0xab,0x4a,0xe4,0xa6,0x48,0xa5,0x8c,0x10,0x92,0x57,0xf7,0x68,0x62,0xbf,0x79,0x3f,0x4f,0x8b,0x9d};
    static std::uint8_t product93[64]      = {0x4b,0xee,0x74,0x20,0x70,0xe8,0x27,0x3e,0x0c,0x83,0xae,0x15,0xcb,0xc1,0xaf,0xb4,0x77,0x45,0x23,0x60,0xd8,0xe1,0x60,0x6f,0xcf,0x02,0xd6,0xde,0x95,0x26,0x12,0x96,0x0f,0x6b,0x7f,0x97,0x9e,0x2e,0x9d,0xce,0x23,0x8c,0x2b,0x0a,0xe0,0xc1,0x72,0x4f,0x32,0xc1,0x84,0x90,0xc6,0xf3,0x5f,0x32,0x0f,0x62,0x7f,0xd8,0xbd,0x09,0xde,0x49};
    uint256_from_bytes(multiplier, multiplier93);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product93, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier94[32]   = {0xf8,0xdc,0xa3,0x09,0xb5,0xb3,0x90,0x23,0xfd,0x09,0xe3,0x7c,0x7f,0x9c,0x13,0x21,0x6b,0xca,0x9b,0x3f,0x18,0xaf,0x26,0x6c,0x35,0x55,0xd6,0xae,0x15,0x86,0x6f,0xfb};
    static std::uint8_t product94[64]      = {0xf1,0xec,0x3a,0x0b,0x70,0x91,0x91,0xa6,0x69,0x43,0x70,0x48,0x5e,0xe8,0x9b,0xcf,0xd2,0xe9,0xaf,0x93,0x04,0xb4,0x9a,0x42,0x43,0xe6,0x2e,0x11,0xb6,0x1f,0x0d,0x5c,0xfd,0x3b,0x0b,0x3c,0x66,0x6b,0xe7,0xa4,0x76,0x75,0x99,0xfd,0x5f,0xd4,0x43,0x68,0x9b,0x31,0x2b,0x48,0x94,0x62,0x77,0xca,0x52,0x75,0x32,0x2c,0x99,0xbf,0xa0,0x19};
    uint256_from_bytes(multiplier, multiplier94);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product94, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier95[32]   = {0xac,0x92,0x61,0xf1,0xe4,0x29,0xc8,0x7c,0x9e,0xcc,0x7b,0x5f,0x75,0xff,0x19,0x9d,0x6a,0xb6,0x11,0x4f,0x22,0x07,0xc6,0xc0,0x3b,0xf4,0x49,0xfd,0x2c,0x56,0x4d,0x56};
    static std::uint8_t product95[64]      = {0x74,0x55,0x07,0x50,0xe7,0xf9,0x98,0x87,0x2f,0x7c,0x45,0xee,0xc1,0xba,0x10,0x97,0x82,0xc9,0xcd,0xfd,0x2a,0xce,0xe8,0x46,0x65,0x69,0xf6,0x51,0x26,0x6a,0xcf,0xea,0x50,0x98,0x2b,0x80,0x80,0x9d,0x2d,0x40,0x29,0x1d,0x43,0xe5,0xc2,0x53,0x8c,0x7d,0x2c,0x5d,0x9f,0xe6,0xe6,0x37,0xb2,0xd2,0xf2,0x4d,0xaf,0xa9,0x9d,0x24,0xd8,0xe4};
    uint256_from_bytes(multiplier, multiplier95);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product95, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier96[32]   = {0xbc,0xf1,0xfc,0xb5,0x41,0x09,0xd8,0xd6,0x5f,0x7b,0x07,0xb8,0x44,0x85,0xc0,0x4f,0x91,0x1f,0x52,0xdc,0x47,0x86,0x8e,0x4a,0x4b,0x35,0x4e,0x93,0x4b,0x3e,0x90,0xb7};
    static std::uint8_t product96[64]      = {0x8b,0x74,0x4f,0xe7,0xfe,0x40,0x43,0x65,0x8b,0x35,0x24,0x96,0x3b,0xfa,0xcc,0xf6,0xaa,0xc8,0xf8,0x85,0xcc,0xcf,0xc0,0x79,0xfc,0x0b,0xcf,0x8d,0x0c,0xf6,0xe9,0xfd,0xe3,0x68,0x34,0xb0,0x56,0xcf,0xd6,0x44,0x93,0x15,0x90,0x2b,0xa7,0x49,0x21,0xc8,0x6c,0x94,0x8c,0x11,0xd9,0x7c,0x95,0x18,0xc5,0xed,0x6e,0x3f,0xa4,0x72,0x62,0xd1};
    uint256_from_bytes(multiplier, multiplier96);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product96, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier97[32]   = {0xfe,0x11,0x1e,0xbc,0x40,0x6c,0x61,0x32,0x65,0x64,0xd1,0x34,0x10,0x97,0x00,0x46,0x53,0x8a,0xe1,0xc1,0x30,0x31,0x29,0x32,0x94,0x0a,0x35,0x37,0xe8,0x56,0x64,0x31};
    static std::uint8_t product97[64]      = {0xfc,0x25,0xfa,0x22,0xa8,0x88,0x48,0xcd,0x00,0x12,0x76,0xcb,0x01,0x10,0x81,0x62,0x0f,0x44,0xf4,0x88,0x17,0x36,0x4e,0x06,0x1a,0x81,0x20,0xb9,0x98,0x73,0x93,0x7c,0xa9,0x3d,0xdd,0xa0,0x7a,0xbc,0x4c,0x56,0x71,0xb0,0x6b,0xcf,0xee,0x6d,0x8e,0xe2,0xbe,0x61,0x0a,0xba,0x00,0xab,0x12,0x25,0xe9,0x4c,0x09,0xce,0x48,0x22,0x51,0x61};
    uint256_from_bytes(multiplier, multiplier97);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product97, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier98[32]   = {0xd7,0x2e,0xb3,0xa1,0x3b,0x2a,0x42,0x1a,0xd1,0xb0,0xb7,0x0b,0xe2,0x00,0xd2,0x18,0x79,0x8a,0x0d,0x59,0x01,0x26,0x64,0xf6,0x1a,0x32,0x75,0x37,0x09,0x7a,0x59,0x42};
    static std::uint8_t product98[64]      = {0xb4,0xdf,0x7a,0x3d,0xdd,0x5d,0x1c,0x81,0x5f,0x1f,0x57,0x62,0xbc,0xa9,0x8d,0x79,0xf3,0xe3,0xe9,0xb4,0x61,0x05,0x0d,0xdf,0x4a,0xa7,0x05,0x72,0x0f,0xfd,0x26,0xb3,0x6d,0xdf,0x4d,0xa4,0x68,0x6f,0x33,0xa2,0x4a,0x6c,0xc8,0xaa,0xd3,0xbf,0x58,0xd6,0xa4,0xef,0x17,0xd7,0xfd,0x8f,0x03,0x43,0x2e,0x4a,0x83,0x1b,0xd6,0x06,0xf5,0x04};
    uint256_from_bytes(multiplier, multiplier98);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product98, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
    static std::uint8_t multiplier99[32]   = {0x0c,0xe6,0x6f,0x73,0x1e,0x84,0xfb,0x36,0x3b,0x9e,0xda,0xcb,0x4b,0x2e,0x72,0x45,0xe0,0x7b,0x59,0xd8,0x0a,0x55,0x27,0xa2,0x5f,0xb6,0x5b,0x55,0xea,0x14,0x84,0x3a};
    static std::uint8_t product99[64]      = {0x00,0xa6,0x69,0xdf,0x3e,0x3c,0x56,0xbc,0x3c,0x00,0x30,0x56,0x43,0x36,0x6b,0x83,0xb2,0xa4,0x2a,0xcf,0xde,0xd7,0x55,0x36,0x21,0x22,0x17,0xd3,0x5c,0x9f,0x5c,0xac,0x1e,0xf6,0x73,0x63,0xf9,0x51,0x32,0x2e,0x30,0x36,0x06,0xac,0x6a,0x8a,0x52,0x80,0x0a,0x0b,0x21,0x92,0x9b,0x3f,0x45,0xf6,0xec,0x22,0x8d,0xe2,0xf5,0x5b,0xdd,0x24};
    uint256_from_bytes(multiplier, multiplier99);
    uint256_sqr(product[0], multiplier);
    uint256_to_bytes(product_data + 32, product[0]);
    uint256_to_bytes(product_data, product[1]);
    if (std::memcmp(product99, product_data, 64) != 0)
    {
        throw std::runtime_error("err in common::uint256_mul");
    }
}
